[erlang-questions] question about Variable:fun()

Andy W. Song <>
Mon Jun 27 06:07:58 CEST 2011


Hi,

New to Erlang. I saw some program with statement such as V:fun() which I
can't find from Joe's Erlang book. I know module:fun() is calling a function
defined in a module. But do this to a variable is confusing. Does that
variable define a function, and how?

Thanks
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110627/64add212/attachment.html>


More information about the erlang-questions mailing list