[commit: ghc] master: Move Extension type to ghc-boot-th (eed820b)

git at git.haskell.org git at git.haskell.org
Mon May 16 14:50:27 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/eed820b672e6c3d23106cd151b1e31ce29326e32/ghc

>---------------------------------------------------------------

commit eed820b672e6c3d23106cd151b1e31ce29326e32
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Mon May 16 15:21:34 2016 +0200

    Move Extension type to ghc-boot-th
    
    This creates a new package, `ghc-boot-th`, to contain the `Extension`
    type, which now lives in `GHC.LanguageExtension.Type`. This ensures that
    the transitive dependency set of the `template-haskell` package remains
    minimal.
    
    The `GHC.LanguageExtensions.Type` module is also re-exported by
    `ghc-boot`, which provides an orphan `binary` instance as well.
    
    Test Plan: Validate
    
    Reviewers: goldfire, thomie, hvr, austin
    
    Reviewed By: thomie
    
    Subscribers: RyanGlScott, thomie, erikd, ezyang
    
    Differential Revision: https://phabricator.haskell.org/D2224


>---------------------------------------------------------------

eed820b672e6c3d23106cd151b1e31ce29326e32
 .gitignore                                         |   3 +
 compiler/main/DynFlags.hs                          |   4 +-
 configure.ac                                       |   2 +-
 ghc.mk                                             |   3 +-
 .../GHC/LanguageExtensions/Type.hs}                |  12 +-
 libraries/{ghc-boot => ghc-boot-th}/GHC/Lexeme.hs  |   0
 LICENSE => libraries/ghc-boot-th/LICENSE           |   0
 libraries/{ghci => ghc-boot-th}/changelog.md       |   2 +-
 libraries/ghc-boot-th/ghc-boot-th.cabal.in         |  37 ++++++
 libraries/ghc-boot/GHC/LanguageExtensions.hs       | 135 ++-------------------
 libraries/ghc-boot/changelog.md                    |   2 +-
 libraries/ghc-boot/ghc-boot.cabal.in               |  13 +-
 .../Language/Haskell/TH/LanguageExtensions.hs      |   2 +-
 libraries/template-haskell/template-haskell.cabal  |   6 +-
 testsuite/tests/th/TH_Roles2.stderr                |   7 +-
 testsuite/tests/th/all.T                           |   3 +-
 16 files changed, 82 insertions(+), 149 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc eed820b672e6c3d23106cd151b1e31ce29326e32


More information about the ghc-commits mailing list