cardano-ledger-core-1.17.0.0: Core components of Cardano ledgers from the Shelley release on.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Core.Rational

Synopsis

Documentation

class IsRatio r where Source #

polymorphic rationals that agree with the Show instances of UnitInterval and friends.

Minimal complete definition

Nothing

Methods

(%!)HasCallStackIntegerInteger → r Source #

default (%!) ∷ (HasCallStack, Typeable r, BoundedRational r) ⇒ IntegerInteger → r Source #