| ||||||||||||||||||
| ||||||||||||||||||
| Description | ||||||||||||||||||
| Orderings | ||||||||||||||||||
| Synopsis | ||||||||||||||||||
| ||||||||||||||||||
| Documentation | ||||||||||||||||||
| class Eq a => Ord a where | ||||||||||||||||||
| ||||||||||||||||||
| data Ordering | ||||||||||||||||||
| ||||||||||||||||||
| comparing :: Ord a => (b -> a) -> b -> b -> Ordering | ||||||||||||||||||
comparing p x y = compare (p x) (p y) Useful combinator for use in conjunction with the xxxBy family of functions from Data.List, for example: ... sortBy (comparing fst) ... | ||||||||||||||||||
| Produced by Haddock version 2.6.0 |