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

Robert Virding robert.virding@REDACTED
Fri Apr 4 16:19:22 CEST 2003


This is a bug in the scanner, probably due to reusing functions in the wrong
context.

Robert

----- Original Message -----
From: "Pierpaolo BERNARDI" <bernardp@REDACTED>
To: <erlang-questions@REDACTED>
Sent: Monday, March 31, 2003 5:04 PM
Subject: Re: Complexity Shock Horror II: the Sequel (was Re: MD5 in erlang


> 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