Hello,
On 15 Okt., 17:53, CuppoJava <[EMAIL PROTECTED]> wrote:
> What's supposed to do is take an arbitrary-form, and create a lazy
> sequence out of calls to "yield".
You can construct the inputs in a lazy sequence and then map
yield over that:
(map yield
(lazy-cat (for [i (range 3)]
i)
[(if true "Hello World" "Dlrow Olleh")]
(for [i (range 2)
j (range 2)]
[i j])))
Since map, lazy-cat and for are all lazy, it should do, what
you want.
Sincerely
Meikel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---