Safe Haskell | None |
---|---|
Language | Haskell98 |
Shelley.Spec.Ledger.STS.Updn
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, PredicateFailure
s 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 PredicateFailure
s 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 UpdnPredicateFailure crypto Source #
Instances
Eq (UpdnPredicateFailure crypto) Source # | |
Defined in Shelley.Spec.Ledger.STS.Updn Methods (==) :: UpdnPredicateFailure crypto -> UpdnPredicateFailure crypto -> Bool # (/=) :: UpdnPredicateFailure crypto -> UpdnPredicateFailure crypto -> Bool # | |
Show (UpdnPredicateFailure crypto) Source # | |
Defined in Shelley.Spec.Ledger.STS.Updn Methods showsPrec :: Int -> UpdnPredicateFailure crypto -> ShowS # show :: UpdnPredicateFailure crypto -> String # showList :: [UpdnPredicateFailure crypto] -> ShowS # | |
Generic (UpdnPredicateFailure crypto) Source # | |
Defined in Shelley.Spec.Ledger.STS.Updn Associated Types type Rep (UpdnPredicateFailure crypto) :: Type -> Type # Methods from :: UpdnPredicateFailure crypto -> Rep (UpdnPredicateFailure crypto) x # to :: Rep (UpdnPredicateFailure crypto) x -> UpdnPredicateFailure crypto # | |
NoThunks (UpdnPredicateFailure crypto) Source # | |
Defined in Shelley.Spec.Ledger.STS.Updn | |
type Rep (UpdnPredicateFailure crypto) Source # | |
Defined in Shelley.Spec.Ledger.STS.Updn |