iteration filter
Posted: Mon Aug 01, 2005 1:03 am
Is there a way to simplify construction like such:
(push ... db) - is only envelope for example: say, I want to repeatedly got values and push only non-nil ones.
Is there a standard way to do that? Something like
Or is there a way to write macro for such thing?
Or is it a wrong lispish style? ;-)
Code: Select all
(push
(let (s nil)
(until (set 's (some-func)))
s)
db)
Is there a standard way to do that? Something like
Code: Select all
(push (until (some-func)) db)
Or is it a wrong lispish style? ;-)