Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Forked from atg/gist:263787
Created December 26, 2009 00:02
Show Gist options
  • Save ELLIOTTCABLE/263789 to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/263789 to your computer and use it in GitHub Desktop.
fib ↼ function
if({ @x = 0 | @x = 1 }, then: { @last(1) }, else: function)
@last( callee(@1 - 1, ?) + callee(@1 - 2, ?) )
fib(5, { print(@) })
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