Hello, doall and dorun returns different results from seond run on... e.g. user=> (def x (for [i (range 1 3)] (do (println i) i))) #'user/x user=> (doall x) 1 2 (1 2) user=> (doall x) (1 2) user=> (doall x) (1 2) user=>
user=> (def x (for [i (range 1 3)] (do (println i) i))) #'user/x user=> (dorun x) 1 2 nil user=> (dorun x) nil user=> (dorun x) nil user=> What's the explanation for that? thanks sun --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
