Module

Data.Ord.Min

Package
purescript-orders
Repository
purescript/purescript-orders

#Min Source

newtype Min a

Provides a Semigroup based on the min function. If the type has a Bounded instance, then a Monoid instance is provided too. For example:

unwrap (Min 5 <> Min 6) = 5
mempty :: Min Ordering = Min GT

Constructors

Instances