Skip to content

Instantly share code, notes, and snippets.

@drexin
Created August 22, 2011 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drexin/1163837 to your computer and use it in GitHub Desktop.
Save drexin/1163837 to your computer and use it in GitHub Desktop.
Elixir scope
module Foo
def bar(fun)
baz do (b)
fun(b) % not in scope
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment