default fixity for `quotRem`, `divMod` ??

Isaac Dupree isaacdupree at charter.net
Mon Jun 18 13:20:29 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was just bitten in ghci by `divMod` being the default infixl 9 instead
of the same as `div` and `mod`.  Sure enough, the standard prelude
doesn't specify a fixity for `quotRem` and `divMod` even though `quot`,
`rem`, `div`, and `mod` are all infixl 7.  I propose that `quotRem` and
`divMod` also become infixl 7.

Isaac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGdr7dHgcxvIWYTTURAu07AKCb0RAI343lnRlH1FgI1rMy0dx1FQCfcnsV
g6HUB5vDVbk9LPGi51WpY+o=
=iESL
-----END PGP SIGNATURE-----


More information about the Haskell-prime mailing list