semigroupoids-5.3.2: Semigroupoids: Category sans id

Copyright(C) 2011-2015 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell98

Data.Functor.Plus

Description

 
Synopsis

Documentation

class Alt f => Plus f where Source #

Laws:

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

If extended to an Alternative then zero should equal empty.

Methods

zero :: f a Source #

Instances
Plus [] Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: [a] Source #

Plus Maybe Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Maybe a Source #

Plus IO Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: IO a Source #

Plus Option Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Option a Source #

Plus First Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: First a Source #

Plus Last Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Last a Source #

Plus IntMap Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: IntMap a Source #

Plus Seq Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Seq a Source #

Plus (U1 :: Type -> Type) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: U1 a Source #

MonadPlus m => Plus (WrappedMonad m) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: WrappedMonad m a Source #

Plus (Proxy :: Type -> Type) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Proxy a Source #

Ord k => Plus (Map k) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Map k a Source #

Plus f => Plus (Lift f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Lift f a Source #

(Bind f, Monad f) => Plus (MaybeT f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: MaybeT f a Source #

(Apply f, Applicative f) => Plus (ListT f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: ListT f a Source #

Alternative f => Plus (WrappedApplicative f) Source # 
Instance details

Defined in Data.Functor.Plus

Plus f => Plus (Rec1 f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Rec1 f a Source #

ArrowPlus a => Plus (WrappedArrow a b) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: WrappedArrow a b a0 Source #

Plus f => Plus (IdentityT f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: IdentityT f a Source #

Plus f => Plus (Reverse f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Reverse f a Source #

Plus f => Plus (WriterT w f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: WriterT w f a Source #

Plus f => Plus (WriterT w f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: WriterT w f a Source #

Plus f => Plus (StateT e f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: StateT e f a Source #

Plus f => Plus (StateT e f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: StateT e f a Source #

(Bind f, Monad f, Semigroup e, Monoid e) => Plus (ExceptT e f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: ExceptT e f a Source #

(Bind f, Monad f, Error e) => Plus (ErrorT e f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: ErrorT e f a Source #

Plus f => Plus (Backwards f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Backwards f a Source #

Plus f => Plus (Static f a) Source # 
Instance details

Defined in Data.Semigroupoid.Static

Methods

zero :: Static f a a0 Source #

(Plus f, Plus g) => Plus (f :*: g) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: (f :*: g) a Source #

(Plus f, Plus g) => Plus (Product f g) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Product f g a Source #

Plus f => Plus (ReaderT e f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: ReaderT e f a Source #

Plus f => Plus (M1 i c f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: M1 i c f a Source #

(Plus f, Functor g) => Plus (Compose f g) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: Compose f g a Source #

Plus f => Plus (RWST r w s f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: RWST r w s f a Source #

Plus f => Plus (RWST r w s f) Source # 
Instance details

Defined in Data.Functor.Plus

Methods

zero :: RWST r w s f a Source #