summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton-Latukha <anton.latukha@gmail.com>2021-11-16 22:33:14 +0200
committerBen Gamari <ben@well-typed.com>2021-11-29 20:03:52 +0000
commit22bbf449a5e4dd260b92ae19de180e9cc34e1d81 (patch)
treeab65ad1395f9f0dd2b604e4c073d1b3f7bd5a96d
parent14e9cab675f5b0abf2c303a0aa455237768103d1 (diff)
downloadhaskell-22bbf449a5e4dd260b92ae19de180e9cc34e1d81.tar.gz
docs/users_guide/bugs.rst: Rewording
It is either "slightly" || "significantly". If it is "bogus" - then no quotes around "optimization" & overall using word "bogus" or use quotes in that way in documentation is... Instead, something like "hack" or "heuristic" can be used there.
-rw-r--r--docs/users_guide/bugs.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/users_guide/bugs.rst b/docs/users_guide/bugs.rst
index 707b6e300b..a60bb493e5 100644
--- a/docs/users_guide/bugs.rst
+++ b/docs/users_guide/bugs.rst
@@ -188,9 +188,9 @@ eta-expands ``f`` to
f [] v = error "urk"
f (x:xs) v = v
-This improves efficiency slightly but significantly for most programs,
-and is bad for only a few. To suppress this bogus "optimisation" use
-``-fpedantic-bottoms``.
+For most programs this improves efficiency enough to be enabled
+& bad only in few rare cases.
+To suppress this optimisation use :ghc-flag:`-fpedantic-bottoms`.
.. _infelicities-failable-pats: