Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ordering
functions
Synopsis
- min_by :: Ord a => (t -> a) -> t -> t -> t
- ord_to_int :: Ordering -> Int
- int_to_ord :: Int -> Ordering
- ord_invert :: Ordering -> Ordering
- order_pair :: Ordering -> (t, t) -> (t, t)
- sort_pair :: (t -> t -> Ordering) -> (t, t) -> (t, t)
- sort_pair_m :: (t -> t -> Maybe Ordering) -> (t, t) -> Maybe (t, t)