Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:1173877
Created Aug 26, 2011

What would you like to do?
Function argument shadowing
inc(X) ->
io:format("X value '~p' has been shadowed.", [X]),
fun (X) ->
X + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment