| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | GHC2021 | 
Plutarch.Rational
Contents
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 :: PType) where
 
Documentation
Note: This type is _not_ the synonym of Rational.
Instances
class PFractional (a :: PType) where Source #