Historical question about type of Data.List.group

Jim Apple jbapple+haskell-lib at gmail.com
Tue Aug 26 19:17:53 EDT 2008


This is also the case for Data.List.insert; it always returns a
non-empty list, and so could have the signature

insert :: Ord a => a -> [a] -> (a,[a])

Jim


More information about the Libraries mailing list