Module
Data.Ratio
- Package
- purescript-rationals
- Repository
- anttih/purescript-rationals
#Ratio Source
data Ratio a
Constructors
Ratio a a
Instances
(Semiring a) => Semiring (Ratio a)
(Ring a) => Ring (Ratio a)
(CommutativeRing a) => CommutativeRing (Ratio a)
(CommutativeRing a, Semiring a) => EuclideanRing (Ratio a)
(Field a) => Field (Ratio a)
#denominator Source
denominator :: forall a. Ratio a -> a
- Modules
- Data.
Ratio - Data.
Rational