PmCheck: Big refactor of module structure
* Move everything from `GHC.HsToCore.PmCheck.*` to `GHC.HsToCore.Pmc.*` in analogy to `GHC.Tc`, rename exported `covCheck*` functions to `pmc*` * Rename `Pmc.Oracle` to `Pmc.Solver` * Split off the LYG desugaring and checking steps into their own modules (`Pmc.Desugar` and `Pmc.Check` respectively) * Split off a `Pmc.Utils` module with stuff shared by `Pmc.{,Desugar,Check,Solver}` * Move `Pmc.Types` to `Pmc.Solver.Types`, add a new `Pmc.Types` module with all the LYG types, which form the interfaces between `Pmc.{Desugar,Check,Solver,}`.
Showing
- compiler/GHC/Hs/Extension.hs 1 addition, 1 deletioncompiler/GHC/Hs/Extension.hs
- compiler/GHC/HsToCore/Binds.hs 3 additions, 3 deletionscompiler/GHC/HsToCore/Binds.hs
- compiler/GHC/HsToCore/Expr.hs 3 additions, 3 deletionscompiler/GHC/HsToCore/Expr.hs
- compiler/GHC/HsToCore/GuardedRHSs.hs 1 addition, 1 deletioncompiler/GHC/HsToCore/GuardedRHSs.hs
- compiler/GHC/HsToCore/Match.hs 4 additions, 4 deletionscompiler/GHC/HsToCore/Match.hs
- compiler/GHC/HsToCore/Monad.hs 1 addition, 1 deletioncompiler/GHC/HsToCore/Monad.hs
- compiler/GHC/HsToCore/Pmc.hs 501 additions, 0 deletionscompiler/GHC/HsToCore/Pmc.hs
- compiler/GHC/HsToCore/Pmc/Check.hs 276 additions, 0 deletionscompiler/GHC/HsToCore/Pmc/Check.hs
- compiler/GHC/HsToCore/Pmc/Desugar.hs 450 additions, 0 deletionscompiler/GHC/HsToCore/Pmc/Desugar.hs
- compiler/GHC/HsToCore/Pmc/Ppr.hs 4 additions, 4 deletionscompiler/GHC/HsToCore/Pmc/Ppr.hs
- compiler/GHC/HsToCore/Pmc/Solver.hs 48 additions, 50 deletionscompiler/GHC/HsToCore/Pmc/Solver.hs
- compiler/GHC/HsToCore/Pmc/Solver/Types.hs 537 additions, 516 deletionscompiler/GHC/HsToCore/Pmc/Solver/Types.hs
- compiler/GHC/HsToCore/Pmc/Types.hs 231 additions, 0 deletionscompiler/GHC/HsToCore/Pmc/Types.hs
- compiler/GHC/HsToCore/Pmc/Utils.hs 140 additions, 0 deletionscompiler/GHC/HsToCore/Pmc/Utils.hs
- compiler/GHC/HsToCore/Types.hs 2 additions, 2 deletionscompiler/GHC/HsToCore/Types.hs
- compiler/GHC/Tc/Solver.hs 1 addition, 1 deletioncompiler/GHC/Tc/Solver.hs
- compiler/ghc.cabal.in 8 additions, 4 deletionscompiler/ghc.cabal.in
Loading
Please register or sign in to comment