max<A> function
- Ord<
A> order
Creates a semigroup that uses an Ord instance to pick the maximum of two elements.
Implementation
BaseSemigroup<A> max<A>(Ord<A> order) => _MaxSemigroup<A>(order);
Creates a semigroup that uses an Ord instance to pick the maximum of two elements.
BaseSemigroup<A> max<A>(Ord<A> order) => _MaxSemigroup<A>(order);