Skip to content
  • Herbert Valerio Riedel's avatar
    compiler: introduce custom "GhcPrelude" Prelude · f63bc730
    Herbert Valerio Riedel authored and Ben Gamari's avatar Ben Gamari committed
    This switches the compiler/ component to get compiled with
    -XNoImplicitPrelude and a `import GhcPrelude` is inserted in all
    modules.
    
    This is motivated by the upcoming "Prelude" re-export of
    `Semigroup((<>))` which would cause lots of name clashes in every
    modulewhich imports also `Outputable`
    
    Reviewers: austin, goldfire, bgamari, alanz, simonmar
    
    Reviewed By: bgamari
    
    Subscribers: goldfire, rwbarton, thomie, mpickering, bgamari
    
    Differential Revision: https://phabricator.haskell.org/D3989
    f63bc730