• Maps a result of the computation with fn.

    Type Parameters

    • A

    • B

    • W1

    • W2

    Parameters

    • fn: ((aw) => [B, W2])

      The function to map a result of the computation.

        • (aw): [B, W2]
        • Parameters

          • aw: [A, W1]

          Returns [B, W2]

    Returns ((w) => Writer<W2, B>)

    The mapped computation.

Generated using TypeDoc