[Git][ghc/ghc][wip/ttg/types/basic] Move types from GHC.Types.Basic to L.H.S.*

Hassan Al-Awwadi (@hassan.awwadi) gitlab at gitlab.haskell.org
Tue Oct 29 12:14:43 UTC 2024



Hassan Al-Awwadi pushed to branch wip/ttg/types/basic at Glasgow Haskell Compiler / GHC


Commits:
fb6071f3 by Hassan Al-Awwadi at 2024-10-29T13:03:19+01:00
Move types from GHC.Types.Basic to L.H.S.*

Basically this cuts a few different edges between L.H.S and GHC.Types.Basic

* RuleName is moved to L.H.S.Basic
* fdTopLevel (TopLevelFlag) has been moved to the extension field of FamilyDecl
* OverlapMode has been moved to L.H.S.OverlapPragma
  * SourceText has been moved to its extension fields
  * NonCanonical has been moved to its extension constructor
* InlinePragma has been moved to L.H.S.InlinePragma
  * SourceText and Arity have been moved to its extension point
  * Activation and InlineSpec have also been moved to L.H.S.InlinePragma
* And some general churn as functions and instances move to new locations
  * GHC.Hs.OverlapPragma contains ghc specifics for L.H.S.OverlapPragma and
  * GHC.Hs.InlinePragma contains ghc specifics for L.H.S.InlinePragma
  * TyConFlavour definition is moved to GHC.Hs.Basic to avoid cyclical dependency

- - - - -


30 changed files:

- compiler/GHC/Builtin/PrimOps/Ids.hs
- compiler/GHC/Core.hs
- compiler/GHC/Core/InstEnv.hs
- compiler/GHC/Core/Lint.hs
- compiler/GHC/Core/Opt/CSE.hs
- compiler/GHC/Core/Opt/CprAnal.hs
- compiler/GHC/Core/Opt/DmdAnal.hs
- compiler/GHC/Core/Opt/OccurAnal.hs
- compiler/GHC/Core/Opt/Pipeline.hs
- compiler/GHC/Core/Opt/Pipeline/Types.hs
- compiler/GHC/Core/Opt/Simplify.hs
- compiler/GHC/Core/Opt/Simplify/Env.hs
- compiler/GHC/Core/Opt/Simplify/Inline.hs
- compiler/GHC/Core/Opt/Simplify/Iteration.hs
- compiler/GHC/Core/Opt/Simplify/Utils.hs
- compiler/GHC/Core/Opt/SpecConstr.hs
- compiler/GHC/Core/Opt/Specialise.hs
- compiler/GHC/Core/Opt/WorkWrap.hs
- compiler/GHC/Core/Ppr.hs
- compiler/GHC/Core/Rules.hs
- compiler/GHC/Core/SimpleOpt.hs
- compiler/GHC/Core/TyCon.hs
- compiler/GHC/Core/Unfold/Make.hs
- compiler/GHC/Core/Utils.hs
- compiler/GHC/CoreToIface.hs
- compiler/GHC/Driver/Config/Core/Lint.hs
- compiler/GHC/Driver/Config/Core/Opt/Simplify.hs
- compiler/GHC/Hs.hs
- compiler/GHC/Hs/Basic.hs
- compiler/GHC/Hs/Binds.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fb6071f32b609cbb2871a6b644676f0a815122b1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fb6071f32b609cbb2871a6b644676f0a815122b1
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/20241029/80ea175c/attachment.html>


More information about the ghc-commits mailing list