Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
UTXO transition system
Documentation
Instances
Data UTXO Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → UTXO → c UTXO # gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c UTXO # dataTypeOf ∷ UTXO → DataType # dataCast1 ∷ Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c UTXO) # dataCast2 ∷ Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c UTXO) # gmapT ∷ (∀ b. Data b ⇒ b → b) → UTXO → UTXO # gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → UTXO → r # gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → UTXO → r # gmapQ ∷ (∀ d. Data d ⇒ d → u) → UTXO → [u] # gmapQi ∷ Int → (∀ d. Data d ⇒ d → u) → UTXO → u # gmapM ∷ Monad m ⇒ (∀ d. Data d ⇒ d → m d) → UTXO → m UTXO # gmapMp ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → UTXO → m UTXO # gmapMo ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → UTXO → m UTXO # | |
STS UTXO Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO | |
Embed UTXO UTXOW Source # | |
Defined in Byron.Spec.Ledger.STS.UTXOW | |
type BaseM UTXO Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO | |
type Environment UTXO Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO | |
type Event UTXO Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO | |
type PredicateFailure UTXO Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO | |
type Signal UTXO Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO | |
type State UTXO Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO |
Instances
Generic UTxOEnv Source # | |
Show UTxOEnv Source # | |
Eq UTxOEnv Source # | |
NoThunks UTxOEnv Source # | |
type Rep UTxOEnv Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO type Rep UTxOEnv = D1 ('MetaData "UTxOEnv" "Byron.Spec.Ledger.STS.UTXO" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "UTxOEnv" 'PrefixI 'True) (S1 ('MetaSel ('Just "utxo0") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UTxO) :*: S1 ('MetaSel ('Just "pps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PParams))) |
Instances
Generic UTxOState Source # | |
Show UTxOState Source # | |
Eq UTxOState Source # | |
NoThunks UTxOState Source # | |
type Rep UTxOState Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO type Rep UTxOState = D1 ('MetaData "UTxOState" "Byron.Spec.Ledger.STS.UTXO" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "UTxOState" 'PrefixI 'True) (S1 ('MetaSel ('Just "utxo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UTxO) :*: S1 ('MetaSel ('Just "reserves") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Lovelace))) |
data UtxoPredicateFailure Source #
These PredicateFailure
s are all "throwable". The disjunction of the
rules' preconditions is not True
- the PredicateFailure
s represent
False
cases.
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.