Bayhac 2015 will be held June 12, 13, 14 at Hackers Dojo in Mountain
View, CA.
See http://bayhac.org/ to register.
Light rail service is available from Caltrain to near Hackers Dojo.
In addition, there can be shuttle service from Caltrain first thing in
the morning and in the evening.
Some
I think this is a mistake, yes. They should not raise such exceptions, but
rather just wrap around—minBound `quot` (-1) should be -minBound=minBound.
That would justify the behavior of rem and mod, and makes much more sense
than the current behavior for Int as a ring.
On Jun 1, 2015 12:41 PM, "Niki
According to the documentation, rem and mod must satisfy the following
laws:
-- > (x `quot` y)*y + (x `rem` y) == x
rem
-- > (x `div` y)*y + (x `mod` y) == x
mod
https://hackage.haskell.org/package/base-4.8.0.0/docs/src/GHC-Real.html
Note, however, that there is a case when quot