Skip to main content

Daml module

DA.Action.State

DA.Action.State

Data Types

data State s a

Constructors:
  • State
s -> (a, s)
Instances:

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

History

Added3.4.9