
4 Jun
2005
4 Jun
'05
7:11 a.m.
Dear GHC developers, ghc-6.4 documentation specifies about Map.insertWith " insertWith :: Ord k => (a -> a -> a) -> k -> a -> Map k a -> Map k a O(log n). Insert with a combining function. " This description is not sufficient. For example, in insertWith (\ a1 a2 -> a1) k a3 mp the doc does not tell what value overrides on the key overlap, a3 or the one in mp. The usage of the GHC library for Set and Map will become much easier if you fix this documentation point on all updating functions for Set and Map which use a combining function. Regards, ----------------- Serge Mechveliani mechvel@botik.ru
7291
Age (days ago)
7291
Last active (days ago)
0 comments
1 participants
participants (1)
-
Serge D. Mechveliani