system messages (Re: Suggested Example/ emacs questions)

Torbjorn Tornkvist tobbe@REDACTED
Tue Oct 10 11:50:21 CEST 2000


> Since get() and put() are O(1) nowadays, why can't I use them in
> guards?

But wouldn't that give us strange side-effects ?
What happends if a put, is executed (left-to-right) 
but later (furter-to-the-right) the clause match fails ?
Also, a clause may now match, not only based on its input
arguments but alos on what get() may return, which I
think is highly undesirable.

Cheers /Tobbe



More information about the erlang-questions mailing list