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

    Type Parameters

    • M

    Parameters

    • monad: Monad<M>

      The instance of Monad for M.

    Returns (<W, A>(writer) => WriterT<W, M, [A, W]>)

    The computation that adds its output to the value.

      • <W, A>(writer): WriterT<W, M, [A, W]>
      • Type Parameters

        • W

        • A

        Parameters

        Returns WriterT<W, M, [A, W]>

Generated using TypeDoc