Skip to content

Instantly share code, notes, and snippets.

@jasonjckn
Created June 5, 2011 01:15
Show Gist options
  • Save jasonjckn/1008549 to your computer and use it in GitHub Desktop.
Save jasonjckn/1008549 to your computer and use it in GitHub Desktop.
(defn Y [f]
(f f))
((Y (fn [coll]
(if-let [[a0 & as] (seq coll)]
(+ a0 ((h h) as))
0)))
[1 2 3 4 5])
@jasonjckn
Copy link
Author

Perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment