Returns an Aggregator that selects the maximum instance of an
ordered type T
in the aggregated stream.
Returns a Monoid instance for Max[List[T]]
that compares
lists first by length and then element-wise by T
, and returns
the maximum value.
Returns a Monoid instance for Max[List[T]]
that compares
lists first by length and then element-wise by T
, and returns
the maximum value.
Returns a Semigroup instance with a plus
implementation
that always returns the maximum T
argument.
Returns a Semigroup instance with a plus
implementation
that always returns the maximum T
argument.
Note that this is a semilattice, for when we merge typelevel/algebra.
Returns a Monoid instance for Max[T] that combines
instances using Max.max and uses zero
for its identity.
Returns a Monoid instance for Max[Stream[T]]
that compares
lists first by length and then element-wise by T
, and returns
the maximum value.
Returns a Monoid instance for Max[Stream[T]]
that compares
lists first by length and then element-wise by T
, and returns
the maximum value.
Returns a Monoid instance for Max[Vector[T]]
that compares
lists first by length and then element-wise by T
, and returns
the maximum value.
Returns a Monoid instance for Max[Vector[T]]
that compares
lists first by length and then element-wise by T
, and returns
the maximum value.
Provides a set of operations and typeclass instances needed to use Max instances.