An extension of Num that supplies the integer type of a given number type and a way to create that number from the integer.
Associated types
type family IntegerOf aThe accociated integer type of the number.
Methods
fromIntegerB :: IntegerOf a -> aConstruct the number from the associated integer.