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