summaryrefslogtreecommitdiff
path: root/compiler/GHC/Types/Name/Occurrence.hs-boot
diff options
context:
space:
mode:
authorAditya Gupta <adityagupta1089@gmail.com>2020-08-15 00:50:24 +0530
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-22 03:29:00 -0400
commite67ae884ebe42cb31fc4230301a5f555ae23cce8 (patch)
treeb6a0f68aab9f9e07f066b49ff1f6211d5d6bf4d5 /compiler/GHC/Types/Name/Occurrence.hs-boot
parent989c1c27b1ec69d8cf56b438f0173d92c3547ab5 (diff)
downloadhaskell-e67ae884ebe42cb31fc4230301a5f555ae23cce8.tar.gz
mkUnique refactoring (#18362)
Move uniqFromMask from Unique.Supply to Unique. Move the the functions that call mkUnique from Unique to Builtin.Uniques
Diffstat (limited to 'compiler/GHC/Types/Name/Occurrence.hs-boot')
-rw-r--r--compiler/GHC/Types/Name/Occurrence.hs-boot10
1 files changed, 9 insertions, 1 deletions
diff --git a/compiler/GHC/Types/Name/Occurrence.hs-boot b/compiler/GHC/Types/Name/Occurrence.hs-boot
index ef23bb13fb..1c27d943a7 100644
--- a/compiler/GHC/Types/Name/Occurrence.hs-boot
+++ b/compiler/GHC/Types/Name/Occurrence.hs-boot
@@ -1,5 +1,13 @@
module GHC.Types.Name.Occurrence where
-import GHC.Prelude ()
+import GHC.Prelude (String)
+import GHC.Data.FastString
data OccName
+
+class HasOccName name where
+ occName :: name -> OccName
+
+occNameString :: OccName -> String
+mkRecFldSelOcc :: String -> OccName
+mkVarOccFS :: FastString -> OccName