Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Typeclass for mimimum and maximum on functors use with import Prelude hiding (minimum, maximum)
Documentation
class (Ord a, Representable f) => MinMaxRep f a where Source #
minimumRep :: f a -> (Rep f, a) Source #
maximumRep :: f a -> (Rep f, a) Source #