[Git][ghc/ghc][master] Fix doc typo in GHC.Read.readList
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Thu Apr 20 15:02:06 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
7012ec2f by tocic at 2023-04-20T11:01:42-04:00
Fix doc typo in GHC.Read.readList
- - - - -
1 changed file:
- libraries/base/GHC/Read.hs
Changes:
=====================================
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).
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7012ec2facc632fe4966916f797e4d1f612d7318
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7012ec2facc632fe4966916f797e4d1f612d7318
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230420/941f92e0/attachment.html>
More information about the ghc-commits
mailing list