Skip to content
Snippets Groups Projects
Commit df479f7c authored by Julie Moronuki's avatar Julie Moronuki Committed by Ben Gamari
Browse files

change example from msum to mfilter

parent 5d48f7ce
No related merge requests found
......@@ -276,7 +276,7 @@ The functions in this library use the following naming conventions:
* A prefix \'@m@\' generalizes an existing function to a monadic form.
Thus, for example:
> sum :: Num a => [a] -> a
> msum :: MonadPlus m => [m a] -> m a
> filter :: (a -> Bool) -> [a] -> [a]
> mfilter :: MonadPlus m => (a -> Bool) -> m a -> m a
-}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment