projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce1d9b
)
remove docs from Monad that belonged on the instance for MonadPlus IO
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 1 Jul 2010 15:42:03 +0000
(15:42 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 1 Jul 2010 15:42:03 +0000
(15:42 +0000)
Control/Monad.hs
patch
|
blob
|
history
diff --git
a/Control/Monad.hs
b/Control/Monad.hs
index
0650e7a
..
5b46f8f
100644
(file)
--- a/
Control/Monad.hs
+++ b/
Control/Monad.hs
@@
-127,8
+127,6
@@
class Monad m => MonadPlus m where
-- > mzero >>= f = mzero
-- > v >> mzero = mzero
--
- -- (but the instance for 'System.IO.IO' defined in Control.Monad.Error
- -- in the mtl package does not satisfy the second one).
mzero :: m a
-- | an associative operation
mplus :: m a -> m a -> m a