• simonpj@microsoft.com's avatar
    Use addToUFM_Acc where appropriate · 65277a1c
    simonpj@microsoft.com authored
    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
    65277a1c
RnNames.lhs 56.6 KB