Skip to content
  • Simon Peyton Jones's avatar
    Move IP, Symbol, Nat to ghc-prim · 2f6a0ac7
    Simon Peyton Jones authored
    This motivation is to declare class IP much earlier (in ghc-prim),
    so that implicit parameters (which depend on IP) is available
    to library code, notably the 'error' function.
    
    * Move class IP from base:GHC.IP
                    to ghc-prim:GHC.Classes
    * Delete module GHC.IP from base
    
    * Move types Symbol and Nat
          from base:GHC.TypeLits
          to ghc-prim:GHC.Types
    
    There was a name clash in GHC.RTS.Flags, where I renamed
    the local type Nat to RtsNat.
    2f6a0ac7