Priority of % (Ratio)

Simon Marlow simonmar at microsoft.com
Tue Sep 3 05:41:29 EDT 2002


> If I load ratio and type 2^3%5 into Hugs I get "8 % 5" as
> I'd expect.
> 
> If I do the same for ghci, I get an error message, because
> it's parsed it as 2^(3%5).  Prelude Ratio ought to have
> 
>    infixl 7  %
> 
> (or maybe it should be in GHC.Real), but I can't find it (in either)

Fixed, thanks.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list