[Git][ghc/ghc][wip/romes/ttg-zurich] 2 commits: AST: GHC.Prelude -> Prelude

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Sun Jun 9 09:54:07 UTC 2024



Rodrigo Mesquita pushed to branch wip/romes/ttg-zurich at Glasgow Haskell Compiler / GHC


Commits:
756fc498 by Alexander Foremny at 2024-06-09T11:53:29+02:00
AST: GHC.Prelude -> Prelude

Refactor occurrences to GHC.Prelude with Prelude within
Language/Haskell.

- - - - -
73215916 by Alexander Foremny at 2024-06-09T11:53:45+02:00
AST: remove occurrences of GHC.Unit.Module.ModuleName

`GHC.Unit.Module` re-exports `ModuleName` from
`Language.Haskell.Syntax.Module.Name`.

- - - - -


2 changed files:

- compiler/Language/Haskell/Syntax/Expr.hs
- compiler/Language/Haskell/Syntax/Expr.hs-boot


Changes:

=====================================
compiler/Language/Haskell/Syntax/Expr.hs
=====================================
@@ -26,6 +26,7 @@ import Language.Haskell.Syntax.Decls
 import Language.Haskell.Syntax.Pat
 import Language.Haskell.Syntax.Lit
 import Language.Haskell.Syntax.Extension
+import Language.Haskell.Syntax.Module.Name (ModuleName)
 import Language.Haskell.Syntax.Type
 import Language.Haskell.Syntax.Binds
 
@@ -33,7 +34,6 @@ import Language.Haskell.Syntax.Binds
 import GHC.Types.Fixity (LexicalFixity(Infix), Fixity)
 import GHC.Types.SourceText (StringLiteral)
 
-import GHC.Unit.Module (ModuleName)
 import GHC.Data.FastString (FastString)
 
 -- libraries:


=====================================
compiler/Language/Haskell/Syntax/Expr.hs-boot
=====================================
@@ -9,7 +9,7 @@ module Language.Haskell.Syntax.Expr where
 import Language.Haskell.Syntax.Extension ( XRec )
 import Data.Kind  ( Type )
 
-import GHC.Prelude (Eq)
+import Prelude (Eq)
 import Data.Data (Data)
 
 type role HsExpr nominal



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/9cd24a53d8d5b428b16167503f4d129c1d6f4a6c...7321591682b367cf836c07ca2d275b04ceffc60c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/9cd24a53d8d5b428b16167503f4d129c1d6f4a6c...7321591682b367cf836c07ca2d275b04ceffc60c
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240609/d5c7c327/attachment-0001.html>


More information about the ghc-commits mailing list