Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data UPDN crypto
- newtype UpdnEnv = UpdnEnv Nonce
- data UpdnState = UpdnState Nonce Nonce
- type family PredicateFailure a
- data UpdnPredicateFailure crypto
Documentation
Instances
type family PredicateFailure 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 Cardano.Protocol.TPraos.Rules.Updn (==) :: UpdnPredicateFailure crypto -> UpdnPredicateFailure crypto -> Bool Source # (/=) :: UpdnPredicateFailure crypto -> UpdnPredicateFailure crypto -> Bool Source # |
|
Show ( UpdnPredicateFailure crypto) Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Updn |
|
Generic ( UpdnPredicateFailure crypto) Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Updn from :: UpdnPredicateFailure crypto -> Rep ( UpdnPredicateFailure crypto) x Source # to :: Rep ( UpdnPredicateFailure crypto) x -> UpdnPredicateFailure crypto Source # |
|
NoThunks ( UpdnPredicateFailure crypto) Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Updn |
|
type Rep ( UpdnPredicateFailure crypto) Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Updn |