diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-12-08 09:11:17 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-12-10 06:17:16 -0500 |
commit | 16eab39bb40bb5acacb652e71b36e627095d2147 (patch) | |
tree | 9e8cddc04d5c537196ed1519c5997ccdc57dd669 | |
parent | f573cb16debc5424e502b3777430c02ae6d0b475 (diff) | |
download | haskell-16eab39bb40bb5acacb652e71b36e627095d2147.tar.gz |
Remove confusing haddock quotes in 'readInt' documentation
As pointed out in #20776, placing quotes in this way linked to the
'Integral' type class which is nothing to do with 'readInt', the text
should rather just be "integral", to suggest that the argument must be
an integer.
Closes #20776
-rw-r--r-- | libraries/base/Numeric.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Numeric.hs b/libraries/base/Numeric.hs index fb7aa3f86a..3079855a36 100644 --- a/libraries/base/Numeric.hs +++ b/libraries/base/Numeric.hs @@ -78,7 +78,7 @@ import qualified Text.Read.Lex as L -- ----------------------------------------------------------------------------- -- Reading --- | Reads an /unsigned/ 'Integral' value in an arbitrary base. +-- | Reads an /unsigned/ integral value in an arbitrary base. readInt :: Num a => a -- ^ the base -> (Char -> Bool) -- ^ a predicate distinguishing valid digits in this base |