Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data PRational s = PRational (Term s PInteger) (Term s PPositive)
- preduce :: Term s (PRational :--> PRational)
- pnumerator :: Term s (PRational :--> PInteger)
- pdenominator :: Term s (PRational :--> PPositive)
- pfromInteger :: Term s (PInteger :--> PRational)
- pround :: Term s (PRational :--> PInteger)
- ptruncate :: Term s (PRational :--> PInteger)
- pproperFraction :: Term s (PRational :--> PPair PInteger PRational)
- class PFractional (a :: S -> Type) where
Documentation
Note: This type is _not_ the synonym of Rational
.
Instances
class PFractional (a :: S -> Type) where Source #