Skip to content

Instantly share code, notes, and snippets.

@nox
Created February 20, 2011 12:44
Show Gist options
  • Save nox/835945 to your computer and use it in GitHub Desktop.
Save nox/835945 to your computer and use it in GitHub Desktop.
-module(blah).
-compile([export_all]).
-record(foo, {f}).
test() ->
Foo = #foo{f = bar},
blah:(Foo#foo.f)().
bar() ->
42.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment