Integral -package:basement -package:bytestring-lexing is:module -package:text-printer

TextShow instances and monomorphic functions for integral types. Since: 2
Integral classes
Parsers for integral numbers written in positional numeral systems.
Integral class operators applied point-wise on streams.
Safe overrides of the methods of class Integral.
Code needed in chapter 24 of the book Learn Physics with Functional Programming
Generally before using quot and rem, think twice. In most cases divMod and friends are the right choice, because they fulfill more of the wanted properties. On some systems quot and rem are more efficient and if you only use positive numbers, you may be happy with them. But we cannot warrant the efficiency advantage. See also: Daan Leijen: Division and Modulus for Computer Scientists http://www.cs.uu.nl/%7Edaan/download/papers/divmodnote-letter.pdf, http://www.haskell.org/pipermail/haskell-cafe/2007-August/030394.html