Maintainer | Simon Meier <iridcode@gmail.com> |
---|---|
Safe Haskell | Safe-Infered |
A variant of Data.Monoid that also exports '()' for mappend
.
- (<>) :: Monoid m => m -> m -> m
- module Data.Monoid
- newtype MinMax a = MinMax {}
- minMaxSingleton :: a -> MinMax a
Documentation
module Data.Monoid
A newtype wrapper around Maybe
that returns a tuple of the minimum and
maximum value encountered, if there was any.
minMaxSingleton :: a -> MinMax aSource
Construct a MinMax
value from a singleton value.