| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Byron.Spec.Chain.STS.Rule.Epoch
Synopsis
- sEpoch ∷ HasCallStack ⇒ Slot → BlockCount → Epoch
- data EPOCH
- data EpochPredicateFailure = UPIECFailure (PredicateFailure UPIEC)
Documentation
sEpoch ∷ HasCallStack ⇒ Slot → BlockCount → Epoch Source #
Compute the epoch for the given _absolute_ slot and chain stability parameter.
Instances
data EpochPredicateFailure Source #
Constructors
| UPIECFailure (PredicateFailure UPIEC) |
Instances
| Data EpochPredicateFailure Source # | |
Defined in Byron.Spec.Chain.STS.Rule.Epoch Methods gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → EpochPredicateFailure → c EpochPredicateFailure # gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c EpochPredicateFailure # toConstr ∷ EpochPredicateFailure → Constr # dataTypeOf ∷ EpochPredicateFailure → DataType # dataCast1 ∷ Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c EpochPredicateFailure) # dataCast2 ∷ Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c EpochPredicateFailure) # gmapT ∷ (∀ b. Data b ⇒ b → b) → EpochPredicateFailure → EpochPredicateFailure # gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → EpochPredicateFailure → r # gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → EpochPredicateFailure → r # gmapQ ∷ (∀ d. Data d ⇒ d → u) → EpochPredicateFailure → [u] # gmapQi ∷ Int → (∀ d. Data d ⇒ d → u) → EpochPredicateFailure → u # gmapM ∷ Monad m ⇒ (∀ d. Data d ⇒ d → m d) → EpochPredicateFailure → m EpochPredicateFailure # gmapMp ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → EpochPredicateFailure → m EpochPredicateFailure # gmapMo ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → EpochPredicateFailure → m EpochPredicateFailure # | |
| Show EpochPredicateFailure Source # | |
Defined in Byron.Spec.Chain.STS.Rule.Epoch Methods showsPrec ∷ Int → EpochPredicateFailure → ShowS # show ∷ EpochPredicateFailure → String # showList ∷ [EpochPredicateFailure] → ShowS # | |
| Eq EpochPredicateFailure Source # | |
Defined in Byron.Spec.Chain.STS.Rule.Epoch Methods (==) ∷ EpochPredicateFailure → EpochPredicateFailure → Bool # (/=) ∷ EpochPredicateFailure → EpochPredicateFailure → Bool # | |