Fri Dec  4 07:50:36 PST 2009  [email protected]
  * Use addToUFM_Acc where appropriate
  Ignore-this: 38e768c4a9f00d7870a631a9472e6edc
  
  This way of extending a UniqFM has existed for some time, but
  we weren't really using it.
  
  addToUFM_Acc  :: Uniquable key =>
                              (elt -> elts -> elts)     -- Add to existing
                           -> (elt -> elts)             -- New element
                           -> UniqFM elts               -- old
                           -> key -> elt                -- new
                           -> UniqFM elts               -- result

    M ./compiler/basicTypes/OccName.lhs -1 +3
    M ./compiler/basicTypes/RdrName.lhs -5 +4
    M ./compiler/basicTypes/VarEnv.lhs -1 +3
    M ./compiler/rename/RnNames.lhs -1 +1
    M ./compiler/simplCore/OccurAnal.lhs -2 +3

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20091204155036-1287e-0e6c0abb1b138b0d0b52ae2e0ecd76d90022dd5d.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to