Module

Data.Ratio

#Ratio

data Ratio a

Instances

#reduce

reduce :: forall a. Ord a => EuclideanRing a => a -> a -> Ratio a

#(%)

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

#numerator

numerator :: forall a. Ratio a -> a

#denominator

denominator :: forall a. Ratio a -> a

Modules