Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/PreludeList/Maximum.hs
module Prelude where import Foldl1 maximum :: (Ord a) => [a] -> a maximum [] = error "PreludeList.maximum: empty list" maximum xs = foldl1 max xs