Documentation Index
Fetch the complete documentation index at: https://docs.canton.network/llms.txt
Use this file to discover all available pages before exploring further.
DA.Action.State
DA.Action.StateModule Snapshot
Lifecycle
Stable.
Notices
Status:
active
Introduced in: 3.4.9
Removed in: -
Warnings: 0
Deprecations: 0
Deprecated since: -Data Types
data State s a
State| Field | Type | Description | | :---- | :--- | :---------- | | runState | s -> (a, s) | |
instance ActionState s (State s)instance Action (State s)instance Applicative (State s)instance GetField runState (State s a) (s -> (a, s))instance SetField runState (State s a) (s -> (a, s))instance Functor (State s)
Functions
evalState
runState that does not return the final state.
execState
runState that does only retun the final state.
Orphan Typeclass Instances
-
instance Functor (State s) -
instance Applicative (State s) -
instance Action (State s) -
instance ActionState s (State s)