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
s -> (a, s)
- instance
ActionStates(States) - instance
Action(States) - instance
Applicative(States) - instance
GetFieldrunState(Statesa) (s-> (a,s)) - instance
SetFieldrunState(Statesa) (s-> (a,s)) - instance
Functor(States)
Functions
evalState
evalState : State s a -> s -> a
Special case of runState that does not return the final state.
execState
execState : State s a -> s -> s
Special case of runState that does only retun the final state.
Orphan Typeclass Instances
-
instance
Functor(States) -
instance
Applicative(States) -
instance
Action(States) -
instance
ActionStates(States)