cardano-ledger-core-1.19.0.0: Core components of Cardano ledgers from the Shelley release on.
Safe HaskellNone
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

(%!)IntegerInteger → r Source #

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