Flint2-0.1.0.5: Haskell bindings for the flint library for number theory
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Number.Flint.Quotient

Description

Quotients

Documentation

class Quotient a b | a -> b where Source #

Methods

(//) :: b -> b -> a infixl 7 Source #

x // y

Construct an quotient from numerator x and denominator y.

numerator :: a -> b Source #

numerator x

Return the numerator of x

denominator :: a -> b Source #

denominator x

Return the denominator of x