Created
January 20, 2012 07:16
-
-
Save minikomi/1645950 to your computer and use it in GitHub Desktop.
Solution #62
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 characters
(fn [f i] | |
(cons i | |
(map #((apply comp (repeat (inc %) f)) i) (range)))) | |
(fn f | |
[func init] | |
(lazy-seq | |
(cons init (f func (func init))))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment