clarification on single assignment

Ulf Wiger <>
Wed Nov 22 11:50:45 CET 2000


On Wed, 22 Nov 2000, Martin Bjorklund wrote:

>Call it want you want; my point was that if you want to implement what
>you suggested, an assignment operator, separate from match, is needed.

My "suggestion" was a joke. I was mainly trying to figure out 
how the SAC people could get away with reassigning variables and
still calling it "single-assignment", but I also wanted some comments
on the notion that if SAC is right in claiming that they have single
assignment, then calling Erlang a single-assignment language is
confusing. I could have been clearer but that wouldn't have as much
fun.

You gave one answer: Erlang doesn't have assignment at all.
Robert gave another: Erlang has single assignment without scoping.

I prefer the "non-assignment" explanation, as it is easier to
understand.

/Uffe
-- 
Ulf Wiger                                    tfn: +46  8 719 81 95
Senior System Architect                      mob: +46 70 519 81 95
Strategic Product & System Management    ATM Multiservice Networks
Data Backbone & Optical Services Division      Ericsson Telecom AB





More information about the erlang-questions mailing list