Sigbjorn Finne <[EMAIL PROTECTED]> writes:

> This a doc bug on the GHC (and Haskell report) side -
> Hugs98's List.minimumBy type is the right one (and also
> the type of the *defn* in the Lib Report.)

mimimumBy :: (a -> a -> Ordering) -> [a] -> a

seems much more useful than

mimimumBy = foldl1
maximumBy = foldl1

Why do you say the latter is "right"?

Carl Witty
[EMAIL PROTECTED]

Reply via email to