Skip to content

Instantly share code, notes, and snippets.

@toumorokoshi
Last active October 15, 2018 17:22
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 toumorokoshi/6ea506cb807f5cc2968d331f02e1c3a0 to your computer and use it in GitHub Desktop.
Save toumorokoshi/6ea506cb807f5cc2968d331f02e1c3a0 to your computer and use it in GitHub Desktop.
defn fib [i]
match i {
1: (return 1),
0: (return 0),
}
return (+ (fib (- i 1)) (fib (- i 2)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment