• Maps data in the structure T into the monoid M and folds them with monoid.combine.

    Type Parameters

    • T

    • A

    • M

    Parameters

    • foldable: Foldable<T>

      The instance of Foldable for T.

    • monoid: Monoid<M>

      The instance of Monoid for M.

    Returns ((f) => ((ta) => M))

    The combined result value.

      • (f): ((ta) => M)
      • Parameters

        • f: ((t) => M)
            • (t): M
            • Parameters

              • t: A

              Returns M

        Returns ((ta) => M)

          • (ta): M
          • Parameters

            Returns M

Generated using TypeDoc