Skip to content

Instantly share code, notes, and snippets.

@henrygarner
Created February 19, 2012 16:16
Show Gist options
  • Save henrygarner/1864488 to your computer and use it in GitHub Desktop.
Save henrygarner/1864488 to your computer and use it in GitHub Desktop.
;; https://4clojure.com/problem/26
(partial (fn f [a b n]
(if (= n 0) ()
(cons a (f b (+ a b) (- n 1)))
)
) 1 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment