Priority of % (Ratio)

Jon Fairbairn Jon.Fairbairn at cl.cam.ac.uk
Mon Sep 2 12:47:19 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)

Which reminds me: please can we have links from
http://cvs.haskell.org/ to the various repositories? I can
never remember the string of guff ("cgi-bin/cvsweb.cgi/")
that gets me from there to fptools.

  Jón

-- 
Jón Fairbairn                                 Jon.Fairbairn at cl.cam.ac.uk
31 Chalmers Road                                         jf at cl.cam.ac.uk
Cambridge CB1 3SZ            +44 1223 570179 (after 14:00 only, please!)





More information about the Glasgow-haskell-bugs mailing list