Created
November 5, 2011 02:10
-
-
Save drguildo/1340990 to your computer and use it in GitHub Desktop.
4clojure problem #26
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
#((fn fib [n xs] | |
(if (not (zero? n)) | |
(fib | |
(dec n) | |
(conj xs (+ (first (reverse xs)) (fnext (reverse xs))))) | |
xs)) (- % 2) [1 1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment