Constructor and Description |
---|
GeneralFoldable() |
Modifier and Type | Method and Description |
---|---|
<T> T |
foldLeft(Monoid<T> monoid,
Higher<CRE,T> ds)
Starting from the left combine each value in turn with an accumulator
|
<T> T |
foldRight(Monoid<T> monoid,
Higher<CRE,T> ds)
Starting from the right combine each value in turn with an accumulator
|
public <T> T foldRight(Monoid<T> monoid, Higher<CRE,T> ds)
Foldable