• Creates a new computation with new a and monoid W.

    Type Parameters

    • W

    Parameters

    • monoid: Monoid<W>

      The instance of Monoid for W.

    Returns (<T>(a) => Writer<W, T>)

    The new computation with the result from a and output from monoid.identity.

      • <T>(a): Writer<W, T>
      • Type Parameters

        • T

        Parameters

        • a: T

        Returns Writer<W, T>

Generated using TypeDoc