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

Iavor Diatchki iavor.diatchki at gmail.com
Mon Jun 18 13:35:57 EDT 2007


Hi,
This seems like a good idea.  We should make sure that we are writing
down such bugfixes somewhere besides the mailing list so that they do
not get lost.
-Iavor

On 6/18/07, Isaac Dupree <isaacdupree at charter.net> wrote:
> -----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-----
> _______________________________________________
> Haskell-prime mailing list
> Haskell-prime at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-prime
>


More information about the Haskell-prime mailing list