Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
For use in trivial cases, such as in mocks, tests, etc.
Synopsis
- fixedEpochInfo ∷ Monad m ⇒ EpochSize → SlotLength → EpochInfo m
- fixedEpochInfoEpoch ∷ EpochSize → SlotNo → EpochNo
- fixedEpochInfoFirst ∷ EpochSize → EpochNo → SlotNo
Documentation
fixedEpochInfo ∷ Monad m ⇒ EpochSize → SlotLength → EpochInfo m Source #
The EpochInfo
induced by assuming the epoch size and slot length are
fixed for the entire system lifetime
Shortcuts
fixedEpochInfoEpoch ∷ EpochSize → SlotNo → EpochNo Source #
The pure computation underlying epochInfoEpoch
applied to
fixedEpochInfo
You don't need a SlotLength
for this.
fixedEpochInfoFirst ∷ EpochSize → EpochNo → SlotNo Source #
The pure computation underlying epochInfoFirst
applied to
fixedEpochInfo
You don't need a SlotLength
for this.