• John Ericson's avatar
    Clean up boot vs non-boot disambiguating types · 32a4ae90
    John Ericson authored
    We often have (ModuleName, Bool) or (Module, Bool) pairs for "extended"
    module names (without or with a unit id) disambiguating boot and normal
    modules. We think this is important enough across the compiler that it
    deserves a new nominal product type. We do this with synnoyms and a
    functor named with a `Gen` prefix, matching other newly created
    definitions.
    
    It was also requested that we keep custom `IsBoot` / `NotBoot` sum type.
    So we have it too. This means changing many the many bools to use that
    instead.
    
    Updates `haddock` submodule.
    32a4ae90
Code owners : Ben Gamari
Main.hs 38.7 KB