Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save green-coder/f86f73e96e23cd6447109f5522e548a9 to your computer and use it in GitHub Desktop.
Save green-coder/f86f73e96e23cd6447109f5522e548a9 to your computer and use it in GitHub Desktop.
(def identity
(fn [rf]
(fn ([] (rf))
([result] (rf result))
([result input] (rf result input)))))
(into [] identity (list 1 2 3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment