• Maps the computation by fn over State<S, _>.

    Type Parameters

    • S

    • A

    • B

    Parameters

    • fn: ((a) => B)

      The function to be applied.

        • (a): B
        • Parameters

          • a: A

          Returns B

    Returns ((s) => State<S, B>)

    The mapped computation.

Generated using TypeDoc