• Ben Gamari's avatar
    Move Extension type to ghc-boot-th · eed820b6
    Ben Gamari authored
    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
    eed820b6
ghc.mk 55.8 KB