Skip to content

Instantly share code, notes, and snippets.

@bisby
Created August 20, 2015 15:48
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 bisby/44478e4d9b9c1dce83c7 to your computer and use it in GitHub Desktop.
Save bisby/44478e4d9b9c1dce83c7 to your computer and use it in GitHub Desktop.
(fn [a b]
(letfn [
(x [func args] (if (< 0 (count args))
(cons
(func (first args))
(lazy-seq (x func (rest args))))))]
(x a b)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment