Safe Haskell | None |
---|---|
Language | Haskell2010 |
Derive
EpochInfo
Synopsis
- dummyEpochInfo :: EpochInfo ( Except PastHorizonException )
- interpreterToEpochInfo :: forall xs. Interpreter xs -> EpochInfo ( Except PastHorizonException )
- summaryToEpochInfo :: forall xs. Summary xs -> EpochInfo ( Except PastHorizonException )
- toPureEpochInfo :: Applicative f => EpochInfo ( Except PastHorizonException ) -> EpochInfo f
Documentation
interpreterToEpochInfo :: forall xs. Interpreter xs -> EpochInfo ( Except PastHorizonException ) Source #
Construct an
EpochInfo
for a
snapshot
of the ledger state
summaryToEpochInfo :: forall xs. Summary xs -> EpochInfo ( Except PastHorizonException ) Source #
Construct an
EpochInfo
for a
snapshot
of the ledger state
toPureEpochInfo :: Applicative f => EpochInfo ( Except PastHorizonException ) -> EpochInfo f 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.