addListToFM

Serge D. Mechveliani mechvel at botik.ru
Fri Jun 3 04:22:01 EDT 2005


I used to apply  FiniteMap.addListToFM.
Now, what is its best expression in ghc-6.4 ?
Is this 
        \ mp pairs -> Map.union (Map.fromList pairs) mp
?
(the order of the arguments in Map.union is essential). 

Thank you in advance for explanation.

-----------------
Serge Mechveliani
mechvel at botik.ru





More information about the Glasgow-haskell-users mailing list