aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockDevHelp.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/HaddockDevHelp.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/HaddockDevHelp.hs')
-rw-r--r--src/HaddockDevHelp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HaddockDevHelp.hs b/src/HaddockDevHelp.hs
index 9c1964cf..cb8886c2 100644
--- a/src/HaddockDevHelp.hs
+++ b/src/HaddockDevHelp.hs
@@ -63,7 +63,7 @@ ppDevHelpFile odir doctitle 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,refs):mdls) =