aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHH2.hs
diff options
context:
space:
mode:
authorpanne <unknown>2005-01-16 12:58:08 +0000
committerpanne <unknown>2005-01-16 12:58:08 +0000
commitefb81da9576a5b4b9befab399a13efbb563b0f36 (patch)
treea65d52942a25ebb6dca90223454a1cc43620e00f /src/HaddockHH2.hs
parent6ab20e84e1e6b1e8b97466753673ce3a875152f8 (diff)
[haddock @ 2005-01-16 12:58:03 by panne]
Correctly handle the new order of arguments for the combining function given to fromListWith.
Diffstat (limited to 'src/HaddockHH2.hs')
-rw-r--r--src/HaddockHH2.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HaddockHH2.hs b/src/HaddockHH2.hs
index bdd37386..3a9abba5 100644
--- a/src/HaddockHH2.hs
+++ b/src/HaddockHH2.hs
@@ -89,7 +89,7 @@ ppHH2Index odir maybe_package ifaces = do
index = Map.toAscList (foldr getIfaceIndex Map.empty ifaces)
getIfaceIndex (mdl,iface) fm =
- Map.unionWith (++) (Map.fromListWith (++) [(name, [mdl]) | (name, Qual mdl' _) <- Map.toAscList (iface_env iface), mdl == mdl']) fm
+ Map.unionWith (++) (Map.fromListWith (flip (++)) [(name, [mdl]) | (name, Qual mdl' _) <- Map.toAscList (iface_env iface), mdl == mdl']) fm
ppList [] = empty
ppList ((name,mdls):vs) =