Choking on Syntactic Sugar

Klacke klacke@REDACTED
Tue Mar 13 10:20:02 CET 2001


Maurice,

On Tue, Mar 13, 2001 at 06:09:57PM +1100, Maurice Castro wrote:
> My question is in 3 parts:
> 
> 	1) is this behaviour desirable 

Yes,

> 		- note it is pure syntactic sugar for [$[, $^ | S0]

Yes,

> 	2) is this behaviour intended

Yes,

> 	3) is it documented

Yes, in the 4.4 Extensions pdf document at www.erlang.org.

> 
> Comments welcome.
> 


Yeah, if you feel the ++ operator is weird, take a look at the
-- operator which is also described in the same doc, it's really
weird. Not useless though.

-- 
Claes Wikstrom                        -- Caps lock is nowhere and
Alteon WebSystems                     -- everything is under control          
http://www.bluetail.com/~klacke       --




More information about the erlang-questions mailing list