Module

Data.Rational

Package
purescript-rationals
Repository
purescript-contrib/purescript-rationals

#Rational Source

Re-exports from Data.Ratio

#Ratio Source

data Ratio a

Instances

#numerator Source

numerator :: forall a. Ratio a -> a

#denominator Source

denominator :: forall a. Ratio a -> a

#(%) Source

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