[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
Sun Nov 3 19:24:11 UTC 2024



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


Commits:
c222b17e by Hassan Al-Awwadi at 2024-11-03T20:23:12+01:00
Move types from GHC.Types.Basic to L.H.S.*

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

-------------------------
Metric Decrease:
    MultiLayerModulesTH_OneShot
-------------------------

- - - - -


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/c222b17e5565a92f7278c0131f83d3d12ae5a446

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c222b17e5565a92f7278c0131f83d3d12ae5a446
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/20241103/80012aae/attachment.html>


More information about the ghc-commits mailing list