cardano-ledger-core-1.19.0.0: Core components of Cardano ledgers from the Shelley release on.
Safe HaskellNone
LanguageHaskell2010

Cardano.Ledger.Compactible

Contents

Synopsis

Compactible

class (Show (CompactForm a), Eq (CompactForm a), EncCBOR (CompactForm a), NoThunks (CompactForm a)) ⇒ Compactible a where Source #

Associated Types

data CompactForm a Source #

Instances

Instances details
Compactible Coin Source # 
Instance details

Defined in Cardano.Ledger.Coin

Associated Types

newtype CompactForm Coin 
Instance details

Defined in Cardano.Ledger.Coin

Compactible DeltaCoin Source # 
Instance details

Defined in Cardano.Ledger.Coin

Associated Types

newtype CompactForm DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

partialCompactFL ∷ ∀ (f ∷ TypeType) c. (Functor f, Compactible c, HasCallStack) ⇒ Lens' (f (CompactForm c)) (f c) Source #