Skip to content

Instantly share code, notes, and snippets.

@yakkomajuri
Last active July 24, 2020 20:18
Show Gist options
  • Save yakkomajuri/634fb757031f88673d5d7b885881c5cc to your computer and use it in GitHub Desktop.
Save yakkomajuri/634fb757031f88673d5d7b885881c5cc to your computer and use it in GitHub Desktop.
let rec fib = function | 0 -> 0 | 1 -> 1 | n -> fib (n - 1) + fib (n - 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment