Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Protocol.TPraos.Rules.Tickn
Synopsis
- data TICKN
- data TicknEnv = TicknEnv { }
- data TicknState = TicknState { }
- data TicknPredicateFailure
- type family PredicateFailure a
Documentation
Instances
STS TICKN Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn Associated Types type Environment TICKN Source # type BaseM TICKN :: Type -> Type Source # type PredicateFailure TICKN Source # Methods initialRules :: [ InitialRule TICKN ] Source # transitionRules :: [ TransitionRule TICKN ] Source # assertions :: [ Assertion TICKN ] Source # renderAssertionViolation :: AssertionViolation TICKN -> String Source # |
|
type State TICKN Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn |
|
type Event TICKN Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn |
|
type PredicateFailure TICKN Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn |
|
type BaseM TICKN Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn |
|
type Environment TICKN Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn |
|
type Signal TICKN Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn |
Constructors
TicknEnv | |
Fields
|
data TicknState Source #
Constructors
TicknState | |
Fields |
Instances
data TicknPredicateFailure Source #
Instances
Eq TicknPredicateFailure Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn Methods (==) :: TicknPredicateFailure -> TicknPredicateFailure -> Bool Source # (/=) :: TicknPredicateFailure -> TicknPredicateFailure -> Bool Source # |
|
Show TicknPredicateFailure Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn |
|
Generic TicknPredicateFailure Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn Methods from :: TicknPredicateFailure -> Rep TicknPredicateFailure x Source # to :: Rep TicknPredicateFailure x -> TicknPredicateFailure Source # |
|
NoThunks TicknPredicateFailure Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn |
|
type Rep TicknPredicateFailure Source # | |
Defined in Cardano.Protocol.TPraos.Rules.Tickn |
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.