diff options
author | Aditya Gupta <adityagupta1089@gmail.com> | 2020-08-15 00:50:24 +0530 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-08-22 03:29:00 -0400 |
commit | e67ae884ebe42cb31fc4230301a5f555ae23cce8 (patch) | |
tree | b6a0f68aab9f9e07f066b49ff1f6211d5d6bf4d5 /compiler/GHC/Types/Name/Occurrence.hs-boot | |
parent | 989c1c27b1ec69d8cf56b438f0173d92c3547ab5 (diff) | |
download | haskell-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-boot | 10 |
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 |