FoldDef
com.phasmid.majabigwaduce.core.FoldDef
final case class FoldDef[K2, W, V2](g: (V2, W) => V2, z: () => V2) extends ReducerDef[K2, W, V2]
Definition of a Reducer_Fold (foldLeft with g from z()). NOTE z is kept as a function so that each reduction still starts from a fresh zero, exactly as Reducer_Fold's by-name parameter does.
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalstrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article