| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Cardano.Protocol.TPraos.Rules.Updn
Synopsis
- data UPDN c
 - newtype UpdnEnv = UpdnEnv Nonce
 - data UpdnState = UpdnState Nonce Nonce
 - type family PredicateFailure a
 - data UpdnPredicateFailure c
 
Documentation
Instances
type family PredicateFailure 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 UpdnPredicateFailure c Source #
Instances
| Generic (UpdnPredicateFailure c) Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Updn Associated Types type Rep (UpdnPredicateFailure c) ∷ Type → Type # Methods from ∷ UpdnPredicateFailure c → Rep (UpdnPredicateFailure c) x # to ∷ Rep (UpdnPredicateFailure c) x → UpdnPredicateFailure c #  | |
| Show (UpdnPredicateFailure c) Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Updn Methods showsPrec ∷ Int → UpdnPredicateFailure c → ShowS # show ∷ UpdnPredicateFailure c → String # showList ∷ [UpdnPredicateFailure c] → ShowS #  | |
| Eq (UpdnPredicateFailure c) Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Updn Methods (==) ∷ UpdnPredicateFailure c → UpdnPredicateFailure c → Bool # (/=) ∷ UpdnPredicateFailure c → UpdnPredicateFailure c → Bool #  | |
| NoThunks (UpdnPredicateFailure c) Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Updn  | |
| type Rep (UpdnPredicateFailure c) Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Updn  | |