Module

Data.Rational

#Rational

#toNumber

#fromInt

Re-exports from Data.Ratio

#Ratio

data Ratio a

Instances

#numerator

numerator :: forall a. Ratio a -> a

#denominator

denominator :: forall a. Ratio a -> a

#(%)

Operator alias for Data.Ratio.reduce (left-associative / precedence 7)

Modules