Module

Data.Ratio

Package
purescript-rationals
Repository
anttih/purescript-rationals

#Ratio Source

data Ratio a

Instances

#reduce Source

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

#(%) Source

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

#numerator Source

numerator :: forall a. Ratio a -> a

#denominator Source

denominator :: forall a. Ratio a -> a