Changes between Version 11 and Version 12 of Commentary/Compiler/WiredIn


Ignore:
Timestamp:
Sep 14, 2006 7:16:21 PM (8 years ago)
Author:
guest
Comment:

typo: initialise -> initialised

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/WiredIn

    v11 v12  
    4343== Initialisation == 
    4444 
    45 When reading an interface file, GHC might come across "GHC.Base.Eq", which is the name of the `Eq` class.  How does it match up this occurrence in the interface file with `eqClassName` defined in `PrelNames`?  Because the global name cache maintained by the renamer is initialise with all the known-key names.  This is done by the (hard-to-find) function `HscMain.newHscEnv`: 
     45When reading an interface file, GHC might come across "GHC.Base.Eq", which is the name of the `Eq` class.  How does it match up this occurrence in the interface file with `eqClassName` defined in `PrelNames`?  Because the global name cache maintained by the renamer is initialised with all the known-key names.  This is done by the (hard-to-find) function `HscMain.newHscEnv`: 
    4646{{{ 
    4747newHscEnv :: DynFlags -> IO HscEnv