[erlang-questions] meaning of Mod ?

Peter J Etheridge petergi@REDACTED
Mon Feb 18 04:11:56 CET 2019


Thank you for the clarification, Joe. 
happy coding,
peter

----- Original Message -----
From: "Joe Armstrong" 
To:"Peter J Etheridge" 
Cc:"Erlang" 
Sent:Sat, 16 Feb 2019 13:15:13 +0100
Subject:Re: [erlang-questions] meaning of Mod ?

 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  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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190218/b7a5813a/attachment.htm>


More information about the erlang-questions mailing list