Module

Data.Ratio

Package
purescript-rationals
Repository
anttih/purescript-rationals

#Ratio Source

data Ratio a

Constructors

Instances

#numerator Source

numerator :: forall a. Ratio a -> a

#denominator Source

denominator :: forall a. Ratio a -> a

#gcd Source

gcd :: forall a. Eq a => EuclideanRing a => Ratio a -> a