• Folds the data structure with folder function by left associativity.

    Type Parameters

    • T

    Parameters

    • foldable: Foldable<T>

      The instance of Foldable for T.

    Returns (<A, B>(folder) => ((init) => ((data) => B)))

    The accumulated result value.

      • <A, B>(folder): ((init) => ((data) => B))
      • Type Parameters

        • A

        • B

        Parameters

        • folder: ((b) => ((a) => B))
            • (b): ((a) => B)
            • Parameters

              • b: B

              Returns ((a) => B)

                • (a): B
                • Parameters

                  • a: A

                  Returns B

        Returns ((init) => ((data) => B))

          • (init): ((data) => B)
          • Parameters

            • init: B

            Returns ((data) => B)

              • (data): B
              • Parameters

                Returns B

Generated using TypeDoc