universum-0.1.8: A sensible set of defaults for writing custom Preludes.

Safe HaskellSafe
LanguageHaskell2010

Applicative

Documentation

orAlt :: (Alternative f, Monoid a) => f a -> f a Source #

orEmpty :: Alternative f => Bool -> a -> f a Source #

eitherA :: Alternative f => f a -> f b -> f (Either a b) Source #