Skip to content

Instantly share code, notes, and snippets.

@stepankuzmin
Created November 17, 2013 08:42
Show Gist options
  • Save stepankuzmin/7510923 to your computer and use it in GitHub Desktop.
Save stepankuzmin/7510923 to your computer and use it in GitHub Desktop.
(defn fib [n] (match [n]
[0] 1
[1] 1
:else (+ (fib (- n 1)) (fib (- n 2)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment