Complexity Shock Horror II: the Sequel (was Re: MD5 in erlang

Pierpaolo BERNARDI bernardp@REDACTED
Mon Mar 31 17:04:39 CEST 2003


From: "Pierpaolo BERNARDI" <bernardp@REDACTED>

> BTW, I find this behaviour of the erlang parser puzzling:
> 
> 51> 16#-123.
> -123
> 52> 16#.
> 0
> 
> Is this intended?  what's its rationale?

I mean, I know the correct syntax, I am wondering why
this doesn't raise an error.

I was cheking if by chance I had overlooked a bit of syntax
and 16#-123 was valid.

P.




More information about the erlang-questions mailing list