I have a vector of values which compute large result sets, similar to a
vector of lazy seqs. It's a vector because it has to be sorted before the
values are evaluated, in order.
When evaluating each value in order of the vector, it's important that they
are garbage collected, because two won't
janus a écrit :
(take 100 (for [x (range 1000) y (range 1000) ( x y)][x y]))
The above works, but when I changed [ x y] to (x y) it fails. Could
anyone come to my help.
(take 100 (for [x (range 1000) y (range 1000) ( x y)] (list x y)))
(x y) means call the function x passing y as its
Merci!
Janus
--~--~-~--~~~---~--~~
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