@@ -134,13 +134,6 @@ instance Monad Maybe where
134134 Nothing >>= k = Nothing
135135 (Just x) >>= k = k x
136136
137−instance MonadPlus Maybe where
138− mzero = Nothing
139−
140− mplus (Just x) _ = Just x
141− mplus Nothing (Just y) = Just y
142− mplus Nothing Nothing = Nothing
143−
144137instance Monad (Either e) where
145138 return = Right
146139
@@ -151,10 +144,6 @@ instance Monad List where
151144 return x = [x]
152145 m >>= f = concatMap f m
153146
154−instance MonadPlus List where
155− mzero = []
156− mplus = (++)
157−
158147---- some mathematical operations
159148
160149%include "math.h"