• Runs the computation s with the initial state. It is equivalent to the identity function.

    Type Parameters

    • S

    • A

    Parameters

    • s: State<S, A>

      The computation to run.

    Returns ((state) => [A, S])

    The result of run.

      • (state): [A, S]
      • Parameters

        • state: S

        Returns [A, S]

Generated using TypeDoc