I\'m trying to create a for in Clojure.
I\'m following the cheats sheet from the Clojure site.
e.g:
(take 100 (for [x (range 100000000) y (ra
try adding doall in front: The for function creates a lazy sequence, as does take. They may not evaluate until you add a doall.
This little quirk is a common annoyance in Clojure, but makes sense once you get more comfortable with "thinking lazily".