org.specs2.control.origami.Folds
See theFolds companion trait
Attributes
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Folds
def fromFoldLeft[M[_], A, B](b: B)(f: (B, A) => M[B])(using m: Monad[M]): Fold[M, A, B] { type S = B; }
Attributes
- Returns
-
a fold from arguments of a fold left
- Inherited from:
- Folds
def fromMonoidMap[M[_], A, O](f: A => O)(using evidence$1: Monoid[O], m: Monad[M]): Fold[M, A, O] { type S = O; }
Attributes
- Returns
-
a fold which uses a Monoid to accumulate elements
- Inherited from:
- Folds
def fromMonoidMapEval[M[_], A, O](f: A => M[O])(using evidence$1: Monoid[O], m: Monad[M]): Fold[M, A, O] { type S = O; }
Attributes
- Returns
-
a fold which uses a Monoid to accumulate elements
- Inherited from:
- Folds
Attributes
- Inherited from:
- Folds
Attributes
- Returns
-
a fold with just a start action
- Inherited from:
- Folds
In this article