The Haskell report has a comment about min and max:
-- note that (min x y, max x y) = (x,y) or (y,x)
max x y
| x <= y = y
| otherwise = x
min x y
| x <= y = x
| otherwise = y
minimumByand maximumByprobably using these, or at least trying to stay consistent with them.
, , min max, , , , ( ). .
- , , , . - , , .