Re: Parsing issue with 1e12
Malcolm Wallace <[email protected]> Fri, 29 Sep 2006 09:24:37 +0100
| Newsgroups | gmane.comp.lang.haskell.yhc,gmane.comp.lang.haskell.hat |
|---|---|
| Organization | Dept of Computer Science, University of York |
| Message-ID | <[email protected]> |
"Neil Mitchell" <[email protected]> writes: > Both GHC and Hugs parse 1e12 as a number, but Hat and Yhc don't. I suspect this was an unnoticed change in the Haskell Report spec. Originally I think the exponent form was allowed only if there was a decimal point before the 'e'. I see this is no longer the case. Yes, this is likely to affect the hpc parser as well. Regards, Malcolm