diff options
author | panne <unknown> | 2005-01-16 14:14:41 +0000 |
---|---|---|
committer | panne <unknown> | 2005-01-16 14:14:41 +0000 |
commit | e27b5834b38295c4e8901ced4053d37bc63dc72b (patch) | |
tree | 500176df0872fda1c741405dc499212169f7805d /src/Map.hs | |
parent | efb81da9576a5b4b9befab399a13efbb563b0f36 (diff) |
[haddock @ 2005-01-16 14:14:39 by panne]
Data.Map.unions is left-biased.
Diffstat (limited to 'src/Map.hs')
-rw-r--r-- | src/Map.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ unionWith :: Ord k => (a -> a -> a) -> Map k a -> Map k a -> Map k a unionWith c l r = plusFM_C c r l unions :: Ord k => [Map k a] -> Map k a -unions = foldr plusFM emptyFM +unions = foldl (flip plusFM) emptyFM elems :: Map k a -> [a] elems = eltsFM |