Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- unsafeBoundRational ∷ ∀ r. (HasCallStack, Typeable r, BoundedRational r) ⇒ Rational → r
- class IsRatio r where
- (%!) ∷ HasCallStack ⇒ Integer → Integer → r
Documentation
unsafeBoundRational ∷ ∀ r. (HasCallStack, Typeable r, BoundedRational r) ⇒ Rational → r Source #
class IsRatio r where Source #
polymorphic rationals that agree with the Show instances of UnitInterval and friends.
Nothing
(%!) ∷ HasCallStack ⇒ Integer → Integer → r Source #
default (%!) ∷ (HasCallStack, Typeable r, BoundedRational r) ⇒ Integer → Integer → r Source #