[Haskell-cafe] 1p function for NonEmpty

Yitzchak Gale gale at sefer.org
Tue Nov 15 14:46:18 CET 2011

I wrote:
> The following functions would be nice additions
> to Data.List.NonEmpty in the semigroups package...

Here are two more requests:

maximum, minimum :: Ord a => NonEmpty a -> a

Two more unsafe Prelude functions become safe!


More information about the Haskell-Cafe mailing list