Created
August 2, 2022 18:11
-
-
Save seanmcl/8b0454518edb244380d0a6d88065b2b5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function fib(n: nat): nat { | |
if n == 0 || n == 1 then 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