summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortocic <tocic@protonmail.ch>2023-04-11 17:45:36 +0300
committertocic <tocic@protonmail.ch>2023-04-11 17:46:28 +0300
commit71b5a7b8476b84b38d57fd8b0911064358946616 (patch)
treee7369e78ac9167131d66fcc4bf4811b34f2de3d8
parent3ba77b369a170ba68f4eb5c8f3ae13e03dcbb28d (diff)
downloadhaskell-wip/doc-typo.tar.gz
Fix doc typo in GHC.Read.readListwip/doc-typo
-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).