Hextra.Foldable

safeFoldr1 :: forall f a. Foldable f => (a -> a -> a) -> f a -> Maybe a Source #

safeMaximum :: forall f a. (Foldable f, Ord a) => f a -> Maybe a Source #

safeMinimum :: forall f a. (Foldable f, Ord a) => f a -> Maybe a Source #