Skip to content

Instantly share code, notes, and snippets.

@vito
Created November 13, 2010 20:37
Show Gist options
  • Save vito/675620 to your computer and use it in GitHub Desktop.
Save vito/675620 to your computer and use it in GitHub Desktop.
block scoping
~ $ atomo
[0]> x = { a = 1; { a + 1 } } call
{ a + 1 }
[1]> x call
2
[2]> a = 100
100
[3]> x call
2
[4]> x context
<object (delegates to 1 object)>
a := 1
[5]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment