Created
August 29, 2012 20:57
-
-
Save gfredericks/3518832 to your computer and use it in GitHub Desktop.
Revisions
-
gfredericks created this gist
Aug 29, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ (defn loud-numbers [] (take 10 (iterate (fn [x] (println "I'm adding to " x) (inc x)) 0))) (defn less-lazy [coll] (lazy-seq (future (second coll)) (cons (first coll) (less-lazy (rest coll)))))