From 22bbf449a5e4dd260b92ae19de180e9cc34e1d81 Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Tue, 16 Nov 2021 22:33:14 +0200 Subject: 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. --- docs/users_guide/bugs.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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: -- cgit v1.2.1