| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Shelley.Spec.Ledger.STS.Snap
Synopsis
- data SNAP era
- type family PredicateFailure a = (b :: Type) | b -> a
- data SnapPredicateFailure era
Documentation
Instances
type family PredicateFailure a = (b :: Type) | b -> a Source #
Descriptive type for the possible failures which might cause a transition to fail.
As a convention, PredicateFailures which are "structural" (meaning that
they are not "throwable" in practice, and are used to pass control from
one transition rule to another) are prefixed with S_.
Structural PredicateFailures represent conditions between rules where
the disjunction of all rules' preconditions is equal to True. That is,
either one rule will throw a structural PredicateFailure and the other
will succeed, or vice-versa.
Instances
data SnapPredicateFailure era Source #
Instances
| Eq (SnapPredicateFailure era) Source # | |
Defined in Shelley.Spec.Ledger.STS.Snap Methods (==) :: SnapPredicateFailure era -> SnapPredicateFailure era -> Bool # (/=) :: SnapPredicateFailure era -> SnapPredicateFailure era -> Bool # | |
| Show (SnapPredicateFailure era) Source # | |
Defined in Shelley.Spec.Ledger.STS.Snap Methods showsPrec :: Int -> SnapPredicateFailure era -> ShowS # show :: SnapPredicateFailure era -> String # showList :: [SnapPredicateFailure era] -> ShowS # | |
| Generic (SnapPredicateFailure era) Source # | |
Defined in Shelley.Spec.Ledger.STS.Snap Associated Types type Rep (SnapPredicateFailure era) :: Type -> Type # Methods from :: SnapPredicateFailure era -> Rep (SnapPredicateFailure era) x # to :: Rep (SnapPredicateFailure era) x -> SnapPredicateFailure era # | |
| NoThunks (SnapPredicateFailure era) Source # | |
Defined in Shelley.Spec.Ledger.STS.Snap | |
| type Rep (SnapPredicateFailure era) Source # | |
Defined in Shelley.Spec.Ledger.STS.Snap | |