Copyright | (c) Edward Kmett 2009-2011 |
---|---|
License | BSD-style |
Maintainer | ekmett@gmail.com |
Stability | experimental |
Portability | non-portable (MPTCs) |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
A semigroup for working with instances of MonadPlus
Synopsis
- newtype MonadSum f a = MonadSum {
- getMonadSum :: f a
Documentation
MonadSum | |
|
Instances
Monad f => Monad (MonadSum f) Source # | |
Functor f => Functor (MonadSum f) Source # | |
Applicative f => Applicative (MonadSum f) Source # | |
Defined in Data.Semigroup.MonadPlus | |
Alternative f => Alternative (MonadSum f) Source # | |
MonadPlus f => MonadPlus (MonadSum f) Source # | |
MonadPlus f => Reducer (f a) (MonadSum f a) Source # | |
MonadPlus f => Semigroup (MonadSum f a) Source # | |
MonadPlus f => Monoid (MonadSum f a) Source # | |