• Sylvain Henry's avatar
    Give plugins a better interface (#17957) · 9728d6c2
    Sylvain Henry authored and  Marge Bot's avatar Marge Bot committed
    Plugins were directly fetched from HscEnv (hsc_static_plugins and
    hsc_plugins). The tight coupling of plugins and of HscEnv is undesirable
    and it's better to store them in a new Plugins datatype and to use it in
    the plugins' API (e.g. withPlugins, mapPlugins...).
    
    In the process, the interactive context (used by GHCi) got proper
    support for different static plugins than those used for loaded modules.
    
    Bump haddock submodule
    9728d6c2
Code owners : Ben Gamari
HsToCore.hs 30.5 KB