Skip to content

Instantly share code, notes, and snippets.

@condotti
Created May 18, 2011 01:58
Show Gist options
  • Save condotti/977854 to your computer and use it in GitHub Desktop.
Save condotti/977854 to your computer and use it in GitHub Desktop.
(fn my-iterate [f x]
(cons x (lazy-seq (my-iterate f (f x)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment