Created
February 19, 2012 16:16
-
-
Save henrygarner/1864488 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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