Type class Integral has two operations quot
and div
, yet in the Haskell 2010 Language Report it is not specified what they're supposed to do. Assuming that div
is integral division, what does quot
differently, or what is the purpose of quot
? When do you use one, and when the other?