summaryrefslogtreecommitdiff
path: root/compiler/GHC/Utils/Ppr.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Utils/Ppr.hs')
-rw-r--r--compiler/GHC/Utils/Ppr.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/GHC/Utils/Ppr.hs b/compiler/GHC/Utils/Ppr.hs
index 559088e415..96e1328ff7 100644
--- a/compiler/GHC/Utils/Ppr.hs
+++ b/compiler/GHC/Utils/Ppr.hs
@@ -21,7 +21,7 @@
-----------------------------------------------------------------------------
{-
-Note [Differences between libraries/pretty and compiler/utils/Pretty.hs]
+Note [Differences between libraries/pretty and compiler/GHC/Utils/Ppr.hs]
For historical reasons, there are two different copies of `Pretty` in the GHC
source tree:
@@ -29,7 +29,7 @@ source tree:
https://github.com/haskell/pretty. This is the `pretty` library as released
on hackage. It is used by several other libraries in the GHC source tree
(e.g. template-haskell and Cabal).
- * `compiler/utils/Pretty.hs` (this module). It is used by GHC only.
+ * `compiler/GHC/Utils/Ppr.hs` (this module). It is used by GHC only.
There is an ongoing effort in https://github.com/haskell/pretty/issues/1 and
https://gitlab.haskell.org/ghc/ghc/issues/10735 to try to get rid of GHC's copy
@@ -49,7 +49,7 @@ ghc git tree:
$ cd libraries/pretty
$ git checkout v1.1.2.0
$ cd -
- $ vimdiff compiler/utils/Pretty.hs \
+ $ vimdiff compiler/GHC/Utils/Ppr.hs \
libraries/pretty/src/Text/PrettyPrint/HughesPJ.hs
For parity with `pretty-1.1.2.1`, the following two `pretty` commits would