Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Quotients
Documentation
class Quotient a b | a -> b where Source #
(//) :: b -> b -> a infixl 7 Source #
x // y
Construct an quotient from numerator x and denominator y.
numerator x
Return the numerator of x
denominator :: a -> b Source #
denominator x
Return the denominator of x