Skip to content

Instantly share code, notes, and snippets.

@careo
Created April 29, 2009 21:01
Show Gist options
  • Select an option

  • Save careo/104050 to your computer and use it in GitHub Desktop.

Select an option

Save careo/104050 to your computer and use it in GitHub Desktop.
-module(funs).
-export([foo/0]).
foo() ->
X = 2,
Foo = fun(X) -> X + 1 end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment