Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Created March 13, 2011 22:52
Show Gist options
  • Select an option

  • Save ELLIOTTCABLE/868519 to your computer and use it in GitHub Desktop.

Select an option

Save ELLIOTTCABLE/868519 to your computer and use it in GitHub Desktop.
first ↼ {
a.variable ↼ “one”
foo ↼ second ()
print (“Foo: ”, foo)
bar ↼ second ()
print (“Bar: ”, bar)
print (“`first`’s callers: ”, callers length ())
}
second ↼ {
number ↼ callers length ()
callers 1 (number)
number ↼ multiply(callers length (), 2)
callers 2 (number)
}
first ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment