Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
data MockChainFailure era Source #
MockChainFromTickFailure !(ShelleyTickPredFailure era) | |
MockChainFromLedgersFailure !(ShelleyLedgersPredFailure era) | |
BlocksOutOfOrder !SlotNo !SlotNo |
Instances
(Show (ShelleyTickPredFailure era), Show (ShelleyLedgersPredFailure era)) ⇒ Show (MockChainFailure era) Source # | |
Defined in Test.Cardano.Ledger.Generic.MockChain | |
(Eq (ShelleyTickPredFailure era), Eq (ShelleyLedgersPredFailure era)) ⇒ Eq (MockChainFailure era) Source # | |
Defined in Test.Cardano.Ledger.Generic.MockChain (==) ∷ MockChainFailure era → MockChainFailure era → Bool Source # (/=) ∷ MockChainFailure era → MockChainFailure era → Bool Source # |
data MockChainEvent era Source #
Instances
(Show (ShelleyTickEvent era), Show (ShelleyLedgersEvent era)) ⇒ Show (MockChainEvent era) Source # | |
Defined in Test.Cardano.Ledger.Generic.MockChain | |
(Eq (ShelleyTickEvent era), Eq (ShelleyLedgersEvent era)) ⇒ Eq (MockChainEvent era) Source # | |
Defined in Test.Cardano.Ledger.Generic.MockChain (==) ∷ MockChainEvent era → MockChainEvent era → Bool Source # (/=) ∷ MockChainEvent era → MockChainEvent era → Bool Source # |
data MockChainState era Source #
MockChainState | |
|
Instances
ppMockChainState ∷ Reflect era ⇒ MockChainState era → PDoc Source #
ppMockBlock ∷ MockBlock era → PDoc Source #
ppMockChainFailure ∷ Reflect era ⇒ Proof era → MockChainFailure era → PDoc Source #
noThunksGen ∷ Proof era → MockChainState era → IO (Maybe ThunkInfo) Source #