Skip to content
  • Rodrigo Mesquita's avatar
    Refactor ModuleName to L.H.S.Module.Name · c43dbac0
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    ModuleName used to live in GHC.Unit.Module.Name. In this commit, the
    definition of ModuleName and its associated functions are moved to
    Language.Haskell.Syntax.Module.Name according to the current plan
    towards making the AST GHC-independent.
    
    The instances for ModuleName for Outputable, Uniquable and Binary were
    moved to the module in which the class is defined because these instances
    depend on GHC.
    
    The instance of Eq for ModuleName is slightly changed to no longer
    depend on unique explicitly and instead uses FastString's instance of
    Eq.
    c43dbac0