A type parameter implying the ability to extract zero or more values of that type.
- Companion
- object
Type members
Classlikes
Value members
Abstract methods
Map each element of the structure to a scalaz.Monoid, and combine the results.
Map each element of the structure to a scalaz.Monoid, and combine the results.
Concrete methods
The composition of Foldable F
and Bifoldable G
, [x, y]F[G[x, y]]
, is a Bifoldable
The composition of Foldable F
and Bifoldable G
, [x, y]F[G[x, y]]
, is a Bifoldable
The composition of Foldables F
and G
, [x]F[G[x]]
, is a Foldable
The composition of Foldables F
and G
, [x]F[G[x]]
, is a Foldable
map elements in a Foldable with a monadic function and return the first element that is mapped successfully
map elements in a Foldable with a monadic function and return the first element that is mapped successfully
Combine the elements of a structure using a monoid.
Combine the elements of a structure using a monoid.
As foldMap
but returning None
if the foldable is empty and Some
otherwise
As foldMap
but returning None
if the foldable is empty and Some
otherwise
The greatest element of fa
, or None if fa
is empty.
The greatest element of fa
, or None if fa
is empty.
The element a
of fa
which yields the greatest value of f(a)
, or None if fa
is empty.
The element a
of fa
which yields the greatest value of f(a)
, or None if fa
is empty.
The greatest value of f(a)
for each element a
of fa
, or None if fa
is empty.
The greatest value of f(a)
for each element a
of fa
, or None if fa
is empty.
The smallest element of fa
, or None if fa
is empty.
The smallest element of fa
, or None if fa
is empty.
The element a
of fa
which yields the smallest value of f(a)
, or None if fa
is empty.
The element a
of fa
which yields the smallest value of f(a)
, or None if fa
is empty.
The smallest value of f(a)
for each element a
of fa
, or None if fa
is empty.
The smallest value of f(a)
for each element a
of fa
, or None if fa
is empty.
The product of Foldables F
and G
, [x](F[x], G[x]])
, is a Foldable
The product of Foldables F
and G
, [x](F[x], G[x]])
, is a Foldable
The product of Foldable F
and Foldable1 G
, [x](F[x], G[x]])
, is a Foldable1
The product of Foldable F
and Foldable1 G
, [x](F[x], G[x]])
, is a Foldable1
Selects groups of elements that satisfy p and discards others.
Selects groups of elements that satisfy p and discards others.
sequence_
for Free. collapses into a single Free *
sequence_
for Free. collapses into a single Free *
Strict sequencing in an applicative functor M
that ignores the value in fa
.
Strict sequencing in an applicative functor M
that ignores the value in fa
.
Splits the elements into groups that alternatively satisfy and don't satisfy the predicate p.
Splits the elements into groups that alternatively satisfy and don't satisfy the predicate p.
A version of traverse_
that infers the type constructor M
.
A version of traverse_
that infers the type constructor M
.
Deprecated methods
Inherited methods
The smallest and largest elements of fa
or None if fa
is empty
The smallest and largest elements of fa
or None if fa
is empty
- Inherited from
- FoldableParent
The elements (amin, amax) of fa
which yield the smallest and largest values of f(a)
, respectively, or None if fa
is empty
The elements (amin, amax) of fa
which yield the smallest and largest values of f(a)
, respectively, or None if fa
is empty
- Inherited from
- FoldableParent
The smallest and largest values of f(a)
for each element a
of fa
, or None if fa
is empty
The smallest and largest values of f(a)
for each element a
of fa
, or None if fa
is empty
- Inherited from
- FoldableParent
Like fold
but returning None
if the foldable is empty and Some
otherwise
Like fold
but returning None
if the foldable is empty and Some
otherwise
- Inherited from
- FoldableParent
Splits the elements into groups that produce the same result by a function f.
Splits the elements into groups that produce the same result by a function f.
- Inherited from
- FoldableParent
Splits into groups of elements that are transitively dependant by a relation r.
Splits into groups of elements that are transitively dependant by a relation r.
- Inherited from
- FoldableParent