[erlang-questions] pattern matching registered name
Tue May 21 21:59:13 CEST 2013
Yes, the registered name is just an atom, it is the '!' which interprets this atom as the registered name of a process, if it exists. It is still just a normal atom, the difference is in the interpretation.
----- Original Message -----
> From: "Richard A. O'Keefe" <ok@REDACTED>
> To: "Edmund Sumbar" <esumbar@REDACTED>
> Cc: erlang-questions@REDACTED
> Sent: Tuesday, 21 May, 2013 3:47:33 AM
> Subject: Re: [erlang-questions] pattern matching registered name
> In a Who ! What send, Who may be a pid or a registered name.
> In a pattern match, registered names do not match pids; they are
> just literal atoms.
> erlang-questions mailing list
More information about the erlang-questions