• Executes an optional operation optionOp while it returns a Some value. The accumulated result of it will be returned.

    Type Parameters

    • T

    Parameters

    • mon: Monoid<T>

      A Monoid instance for T.

    Returns (<M>(m) => ((optionOp) => Get1<M, T>))

    The looping and accumulating operation.

      • <M>(m): ((optionOp) => Get1<M, T>)
      • Type Parameters

        • M

        Parameters

        Returns ((optionOp) => Get1<M, T>)

Generated using TypeDoc