-
-
Save ELLIOTTCABLE/263789 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
fib ↼ function | |
if({ @x = 0 | @x = 1 }, then: { @last(1) }, else: function) | |
@last( callee(@1 - 1, ?) + callee(@1 - 2, ?) ) | |
fib(5, { print(@) }) |
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
fib ↼ function | |
if({ @x = 0 | @x = 1 }, then: { @last(1) }, else: function) | |
callee(@1 - 1, {callee(@1 - 2, function)}) | |
locals enclosing enclosing @last(locals enclosing @ + @) | |
fib(5, { print(@) }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment