summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-12-08 09:11:17 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2021-12-08 09:14:13 +0000
commitb74d6d7513415d4c9d0e66c30c2984021deb5cc5 (patch)
tree017a797d536b7e44a3340b93cc62c4278e9f2134
parenta9e035a430c7fdc228d56d21b27b3b8e815fd06b (diff)
downloadhaskell-wip/read-int-docs.tar.gz
Remove confusing haddock quotes in 'readInt' documentationwip/read-int-docs
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.hs2
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