summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortocic <tocic@protonmail.ch>2023-04-11 17:45:36 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-04-20 11:01:42 -0400
commit7012ec2facc632fe4966916f797e4d1f612d7318 (patch)
tree251fe237b4d033222bdfcb1bc1bcb8a6bca7e94b
parentf15b0ce530bece8b242941a446fd381614bdd3cf (diff)
downloadhaskell-7012ec2facc632fe4966916f797e4d1f612d7318.tar.gz
Fix doc typo in GHC.Read.readList
-rw-r--r--libraries/base/GHC/Read.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/GHC/Read.hs b/libraries/base/GHC/Read.hs
index 75ccb0c5da..5c4a629676 100644
--- a/libraries/base/GHC/Read.hs
+++ b/libraries/base/GHC/Read.hs
@@ -205,8 +205,8 @@ class Read a where
-- | The method 'readList' is provided to allow the programmer to
-- give a specialised way of parsing lists of values.
-- For example, this is used by the predefined 'Read' instance of
- -- the 'Char' type, where values of type 'String' should be are
- -- expected to use double quotes, rather than square brackets.
+ -- the 'Char' type, where values of type 'String' are expected to
+ -- use double quotes, rather than square brackets.
readList :: ReadS [a]
-- | Proposed replacement for 'readsPrec' using new-style parsers (GHC only).