protolude-0.1.10: A sensible set of defaults for writing custom Preludes.
List
head :: Foldable f => f a -> Maybe a Source #
ordNub :: Ord a => [a] -> [a] Source #
sortOn :: Ord o => (a -> o) -> [a] -> [a] Source #
list :: [b] -> (a -> b) -> [a] -> [b] Source #
product :: (Foldable f, Num a) => f a -> a Source #
sum :: (Foldable f, Num a) => f a -> a Source #