Funs behaving differently after native compilation

Joel Reymont <>
Thu Jan 12 18:42:43 CET 2006


Thank you Richard!

On Jan 12, 2006, at 4:34 PM, Richard Carlsson wrote:

> You could do something like this:
>
>    foo({M,F}) ->
>      Closer = fun(Sock) -> M:F(Sock) end,
>      monitor(self(), Sock, Closer)

--
http://wagerlabs.com/








More information about the erlang-questions mailing list