Negation

Simon Marlow marlowsd at gmail.com
Sat Feb 13 14:42:30 EST 2010


On 10/02/10 07:53, Atze Dijkstra wrote:
>
> On 10 Feb, 2010, at 00:53 , Lennart Augustsson wrote:
>
>> Do you deal with this correctly as well:
>> case () of _ -> 1==1==True
>
> No, that is, in the same way as GHC & Hugs, by reporting an error.

Note that Haskell 2010 now specifies that expression to be a precedence 
parsing error, assuming that == is nonfix.

http://hackage.haskell.org/trac/haskell-prime/wiki/FixityResolution

Cheers,
	Simon


More information about the Haskell-prime mailing list