| (2)
| On the other hand, the other "By" variants of functions that take
| something constrained by `Ord', i.e. `insertBy' and `sortBy', use an
| argument of type `a -> a -> Ordering'.  So for consistency `minimumBy'
| should do the same.  This is probably a more compelling argument.

My strong inclination is to adopt this.  The 'By' variants should
be consistent.  That means changing GHC and Hugs a little, and correcting
the (a->a->a) typo in the current Report.

This seems to be the consensus of the messages so far, as well.
Yell if you object strenuously.  Otherwise consider it done.

minimumBy, maximumBy :: (a->a->Ordering) -> [a] -> a

Simon

Reply via email to