Skip to content

Instantly share code, notes, and snippets.

@atg
Forked from ELLIOTTCABLE/abstracted_sync_syntax.paws
Created December 26, 2009 00:25
Show Gist options
  • Save atg/263793 to your computer and use it in GitHub Desktop.
Save atg/263793 to your computer and use it in GitHub Desktop.
def fib(x)
if x == 0
callback(0)
if x == 1
callback(1)
fib(x - 1) -> {
a = #
fib(x - 2) -> {
callback(a + #)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment