summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/GHC/Prelude/Basic.hs11
1 files changed, 5 insertions, 6 deletions
diff --git a/compiler/GHC/Prelude/Basic.hs b/compiler/GHC/Prelude/Basic.hs
index ac620a90c4..b3a311fdb7 100644
--- a/compiler/GHC/Prelude/Basic.hs
+++ b/compiler/GHC/Prelude/Basic.hs
@@ -110,12 +110,11 @@ shiftR = Bits.unsafeShiftR
#endif
{- Note [Proxies for head and tail]
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Prelude.head and Prelude.tail has recently acquired {-# WARNING in "x-partial" #-},
-but GHC codebase uses them fairly extensively and insists on building warning-free.
-Thus instead of adding {-# OPTIONS_GHC -Wno-x-partial #-} to every module which
-employs them, we define a warning-less proxies and export them from GHC.Prelude.
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Prelude.head and Prelude.tail have recently acquired {-# WARNING in "x-partial" #-},
+but the GHC codebase uses them fairly extensively and insists on building warning-free.
+Thus, instead of adding {-# OPTIONS_GHC -Wno-x-partial #-} to every module which
+employs them, we define warning-less proxies and export them from GHC.Prelude.
-}
-- See Note [Proxies for head and tail]