Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Derive EpochInfo
Synopsis
- dummyEpochInfo ∷ EpochInfo (Except PastHorizonException)
- interpreterToEpochInfo ∷ ∀ xs. Interpreter xs → EpochInfo (Except PastHorizonException)
- summaryToEpochInfo ∷ ∀ xs. Summary xs → EpochInfo (Except PastHorizonException)
- toPureEpochInfo ∷ EpochInfo (Except PastHorizonException) → EpochInfo Identity
Documentation
interpreterToEpochInfo ∷ ∀ xs. Interpreter xs → EpochInfo (Except PastHorizonException) Source #
Construct an EpochInfo
for a snapshot of the ledger state
summaryToEpochInfo ∷ ∀ xs. Summary xs → EpochInfo (Except PastHorizonException) Source #
Construct an EpochInfo
for a snapshot of the ledger state
toPureEpochInfo ∷ EpochInfo (Except PastHorizonException) → EpochInfo Identity Source #
Interpret the PastHorizonException
as a _pure exception_ via throw
As per usual, this should only be used when the pure exception would indicate a bug.