On Wed, Apr 11, 2007 at 09:05:21AM +0100, Simon Marlow wrote:
> I definitely think that -1# should be parsed as a single lexeme.  
> Presumably it was easier at the time to do it the way it is, I don't 
> remember exactly.
> 
> I'd support a warning for use of prefix negation, or alternatively you 
> could implement the Haskell' proposal to remove prefix negation completely 
> - treat the unary minus as part of a numeric literal in the lexer only.  
> This would have to be optional for now, so that we can continue to support 
> Haskell 98 of course.

yes please! odd that I look forward to such a minor change in the big
scheme of things, but the current treatment of negation has annoyed me
more than any other misfeature I think.

        John

-- 
John Meacham - ⑆repetae.net⑆john⑈
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to