Copyright | (c) Edward Kmett 2009-2011 |
---|---|
License | BSD-style |
Maintainer | ekmett@gmail.com |
Stability | experimental |
Portability | non-portable (MPTCs) |
Safe Haskell | Trustworthy |
Language | Haskell98 |
A semigroup for working with instances of MonadPlus
- newtype MonadSum f a = MonadSum {
- getMonadSum :: f a
Documentation
MonadSum | |
|
Monad f => Monad (MonadSum f) Source # | |
Functor f => Functor (MonadSum f) Source # | |
Applicative f => Applicative (MonadSum f) Source # | |
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 # | |