Returns an Aggregator that selects the maximum instance of an ordered type T
in the aggregated
stream.
Monoid for Max [Double] with zero == Double.MinValue
Note: MinValue > NegativeInfinity, but
people may be relying on this emitting a non-infinite number.
Monoid for Max [Float] with zero == Float.MinValue
Note: MinValue > NegativeInfinity, but
people may be relying on this emitting a non-infinite number.
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 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.