Doubt about funs

Martin Bjorklund mbj@REDACTED
Wed Feb 21 10:58:29 CET 2001


Ulf Wiger <etxuwig@REDACTED> wrote:

> P crashes, but that doesn't really have anything to do with the
> fun. It's because t:loop() executes in the old module.

Yes, of course, you're right.

Ok, so I agree you can use a fun to spawn a new function, if you don't
want to export that function.  I guess it's a matter of taste (and
tradition).

But the main point about code change is still valid though.


/martin



More information about the erlang-questions mailing list