summaryrefslogtreecommitdiff
path: root/libraries/base/Text
diff options
context:
space:
mode:
authorChris Martin <ch.martin@gmail.com>2017-04-12 14:12:05 -0400
committerBen Gamari <ben@smart-cactus.org>2017-04-12 14:53:07 -0400
commit8121748dd79d648342fca2704122197c406a18e9 (patch)
treeacbc2b15bf961e1ba2de9d77a45f215e69f387c6 /libraries/base/Text
parent210b43fe95e83bbe602c5cdac0e63823fc36ae40 (diff)
downloadhaskell-8121748dd79d648342fca2704122197c406a18e9.tar.gz
Fix typo in ReadP (succeds -> succeeds)
Reviewers: austin, hvr, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3452
Diffstat (limited to 'libraries/base/Text')
-rw-r--r--libraries/base/Text/ParserCombinators/ReadP.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Text/ParserCombinators/ReadP.hs b/libraries/base/Text/ParserCombinators/ReadP.hs
index cc6897447e..fd7c677bd9 100644
--- a/libraries/base/Text/ParserCombinators/ReadP.hs
+++ b/libraries/base/Text/ParserCombinators/ReadP.hs
@@ -286,7 +286,7 @@ string this = do s <- look; scan this s
munch :: (Char -> Bool) -> ReadP String
-- ^ Parses the first zero or more characters satisfying the predicate.
--- Always succeds, exactly once having consumed all the characters
+-- Always succeeds, exactly once having consumed all the characters
-- Hence NOT the same as (many (satisfy p))
munch p =
do s <- look