semigroupoids-4.0.4: Semigroupoids: Category sans id

Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellSafe

Data.Functor.Plus

Description

 

Synopsis

Documentation

class Alt f => Plus f whereSource

Laws:

 zero <!> m = m
 m <!> zero = m

If extended to an Alternative then zero should equal empty.

Methods

zero :: f aSource

Instances

Plus [] 
Plus IO 
Plus Maybe 
Plus Seq 
Plus IntMap 
Plus Option 
MonadPlus m => Plus (WrappedMonad m) 
Plus f => Plus (IdentityT f) 
Ord k => Plus (Map k) 
(Bind f, Monad f) => Plus (MaybeT f) 
(Apply f, Applicative f) => Plus (ListT f) 
Alternative f => Plus (WrappedApplicative f) 
ArrowPlus a => Plus (WrappedArrow a b) 
Plus f => Plus (WriterT w f) 
Plus f => Plus (WriterT w f) 
(Bind f, Monad f, Error e) => Plus (ErrorT e f) 
Plus f => Plus (StateT e f) 
Plus f => Plus (StateT e f) 
Plus f => Plus (ReaderT e f) 
Plus f => Plus (Static f a) 
Plus f => Plus (RWST r w s f) 
Plus f => Plus (RWST r w s f)