[erlang-questions] parallel tcp server closed once spawned

Michael Campbell <>
Tue Oct 16 14:40:47 CEST 2007

As a tangent to this conversation...

On 10/16/07, Chandru <> wrote:
> I've included a modified version of the
> para_server which will work whether you spawn or call it directly from
> the shell.

> para_server() ->
>     spawn(fun() ->
>                   para_server_1()
>           end).

Is there a difference in the spawn call above and:

spawn(fun() ->

?   I've seen in other examples the M:F/A format for methods that take
a fun, and wondered if this were a stylistic or subtle "real"

More information about the erlang-questions mailing list