• Creates an action that executes writer, maps its output and adds to the value of the computation.

    Type Parameters

    • W

    • B

    Parameters

    • mapper: ((w) => B)

      The function to map the output of the computation.

        • (w): B
        • Parameters

          • w: W

          Returns B

    Returns (<A>(writer) => Writer<W, [A, B]>)

    The computation that adds its output to the value.

      • <A>(writer): Writer<W, [A, B]>
      • Type Parameters

        • A

        Parameters

        Returns Writer<W, [A, B]>

Generated using TypeDoc