Type alias Mut<S, A>

Mut<S, A>: ((thread) => MutVar<A>)

Type Parameters

  • S

  • A

Type declaration

    • (thread): MutVar<A>
    • A state transformer monad, which allows for destructive updates. A computation of type Mut<S, A> denotes that returns a value of type A in thread S, which is a free type variable.

      Parameters

      Returns MutVar<A>

Generated using TypeDoc