cardano-ledger-test-9.9.9.9: Testing harness, tests and benchmarks for Shelley style cardano ledgers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.ValueFromList

Description

abstract the Value type family into a type class that can be interacted with somewhat generically.

Documentation

class Val val ⇒ ValueFromList val where Source #

Methods

valueFromListInteger → [(PolicyID, AssetName, Integer)] → val Source #

insert ∷ (IntegerIntegerInteger) → PolicyIDAssetNameInteger → val → val Source #

gettriples ∷ val → (Integer, [(PolicyID, AssetName, Integer)]) Source #