[erlang-questions] call by value

Matthew Sackman <>
Thu May 19 18:17:21 CEST 2011


On Thu, May 19, 2011 at 05:14:49PM +0100, Robert Raschke wrote:
> You have to remember that in Erlang there are only values. You don't have
> references. What you have is names for values, but that's all it is, a name
> for a value, just like you use the word "one" to denote the value of the
> numeral 1.

Though interestingly, you can think of a Pid as a reference to a
process. Likewise Refs (clue is in the name ;)) and Ports.

Matthew



More information about the erlang-questions mailing list