summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/users_guide/exts/monad_comprehensions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/exts/monad_comprehensions.rst b/docs/users_guide/exts/monad_comprehensions.rst
index 4ed99b1002..b4afbc1090 100644
--- a/docs/users_guide/exts/monad_comprehensions.rst
+++ b/docs/users_guide/exts/monad_comprehensions.rst
@@ -35,8 +35,8 @@ Monad comprehensions support:
[ x | x <- [1..10], x <= 5 ]
- Guards are translated with the ``guard`` function, which requires a
- ``MonadPlus`` instance: ::
+ Guards are translated with the ``guard`` function, which requires an
+ ``Alternative`` instance: ::
do x <- [1..10]
guard (x <= 5)