On 12.01.2009, at 01:01, samppi wrote: > The problem is that even though "some" and "filter" are lazy, "alt" is > still not, so calling "(alt (sub-function1 c) ...)" in the meta-meta- > function still evaluates (sub-function1 c), etc. It could be shown in > the REPL:
How about changing the interface of alt to (defn alt [functions] ...) and pass it a lazy sequence of functions? Konrad. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---