Fri Oct 13 02:42:30 PDT 2006  [EMAIL PROTECTED]
  * More refactoring in RnNames
  
  I rather self-indulgently spent a chunk of yesterday working on 
  refactoring RnNames further.  The result is significantly simpler:
  
  * A GlobalRdrElt gets an extra field, gre_par, which records
    the parent (if any) of the name
  
  * ImportAvails has two fields deleted: imp_env and imp_parent.
    The information provided by these fields was only used when
    processing the export list; and the same information is now readily
    generated from the GlobalRdrElts in the GlobalRdrEnv
  
  I also did some tidying up; notably moving AvailEnv stuff from
  TcRnTypes to RnNames.
  
  The result is tha the compiler is some 130 lines shorter than before
  

    M ./compiler/basicTypes/RdrName.lhs -13 +32
    M ./compiler/main/HscTypes.lhs -5 +2
    M ./compiler/rename/RnEnv.lhs -21 +25
    M ./compiler/rename/RnExpr.lhs -1 +1
    M ./compiler/rename/RnHsDoc.hs -2 +2
    M ./compiler/rename/RnNames.lhs -292 +252
    M ./compiler/typecheck/TcRnDriver.lhs -14 +6
    M ./compiler/typecheck/TcRnMonad.lhs -8 +1
    M ./compiler/typecheck/TcRnTypes.lhs -111 +9
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to