[commit: ghc] master: Fix typo in ReadP (succeds -> succeeds) (8121748)

git at git.haskell.org git at git.haskell.org
Wed Apr 12 18:53:46 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8121748dd79d648342fca2704122197c406a18e9/ghc

>---------------------------------------------------------------

commit 8121748dd79d648342fca2704122197c406a18e9
Author: Chris Martin <ch.martin at gmail.com>
Date:   Wed Apr 12 14:12:05 2017 -0400

    Fix typo in ReadP (succeds -> succeeds)
    
    Reviewers: austin, hvr, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3452


>---------------------------------------------------------------

8121748dd79d648342fca2704122197c406a18e9
 libraries/base/Text/ParserCombinators/ReadP.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/base/Text/ParserCombinators/ReadP.hs b/libraries/base/Text/ParserCombinators/ReadP.hs
index cc68974..fd7c677 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



More information about the ghc-commits mailing list