@mikuroxina/mini-fn
    Preparing search index...

    Function put

    • Creates a computation that sets the new state in the monad.

      Type Parameters

      • S

      Parameters

      • state: S

        The new state value.

      Returns State.State<S, never[]>

      The computation which sets the new state.