[erlang-questions] meaning of Mod ?

Joe Armstrong erlang@REDACTED
Sat Feb 16 13:15:13 CET 2019


Mod is an atom containing the name of a module.

It gets used twice in server3.erl in the lines

     Mod:init()
and
    Mod:handle(Request, OldState)

Have fun

/Joe


On Sat, Feb 16, 2019 at 6:00 AM Peter J Etheridge <petergi@REDACTED> wrote:
>
> Dear Erlangers,
> In module server1 at the top of Joe's book on page 363 is;
>
> start(Name, Mod)  ->
>
> In this context, what is the meaning of 'Mod' ?
>
> Thank you in advance,
> peter
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list