I'm wondering whether (apply concat ...) can be re-written to be
lazy.
...
-----Behavior in 1.1.0------
The operation is eager.
It's not: it simply uses chunked sequences, so the first 32 elements
are evaluated together.
user=> (def temp (for [i (range 50)]
(do (println i)
[i i i])))
#'user/temp
user=>
user=> (def temp2 (apply concat temp))
0
1
2
...
30
31
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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