diff options
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/Outputable.hs | 2 | ||||
-rw-r--r-- | compiler/utils/TrieMap.hs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/utils/Outputable.hs b/compiler/utils/Outputable.hs index b9e3993cb9..7133951d67 100644 --- a/compiler/utils/Outputable.hs +++ b/compiler/utils/Outputable.hs @@ -962,7 +962,7 @@ instance Outputable Extension where -- | 'BindingSite' is used to tell the thing that prints binder what -- language construct is binding the identifier. This can be used -- to decide how much info to print. --- Also see Note [Binding-site specific printing] in PprCore +-- Also see Note [Binding-site specific printing] in GHC.Core.Ppr data BindingSite = LambdaBind -- ^ The x in (\x. e) | CaseBind -- ^ The x in case scrut of x { (y,z) -> ... } diff --git a/compiler/utils/TrieMap.hs b/compiler/utils/TrieMap.hs index f4106437a1..53bb06c4f9 100644 --- a/compiler/utils/TrieMap.hs +++ b/compiler/utils/TrieMap.hs @@ -47,7 +47,7 @@ whose key is a structured value like a CoreExpr or Type. This file implements tries over general data structures. Implementation for tries over Core Expressions/Types are -available in coreSyn/TrieMap. +available in GHC.Core.Map. The regular pattern for handling TrieMaps on data structures was first described (to my knowledge) in Connelly and Morris's 1995 paper "A @@ -333,7 +333,7 @@ just use SingletonMap. nothing in the map, don't bother building out the (possibly infinite) recursive TrieMap structure! -Compressed triemaps are heavily used by CoreMap. So we have to mark some things +Compressed triemaps are heavily used by GHC.Core.Map. So we have to mark some things as INLINEABLE to permit specialization. -} |