Fix quoteRem, rem, divMod and mod definitions
authorIan Lynagh <igloo@earth.li>
Sun, 26 Jun 2011 01:41:16 +0000 (02:41 +0100)
committerIan Lynagh <igloo@earth.li>
Sun, 26 Jun 2011 01:41:16 +0000 (02:41 +0100)
commit9b02e90c860f41c6431e6a0015ea4f02ec770ced
tree0402eb0ff1db6ca50f0fe1096172ff2be873a461
parent56c012702c4d8eb0ea281306758e7b76155eb0fb
Fix quoteRem, rem, divMod and mod definitions

We now have, e.g.,
    maxBound `rem` (-1) == 0
rather than raising overflowError.
GHC/Int.hs
GHC/Real.lhs