diff options
author | panne <unknown> | 2005-01-16 12:58:08 +0000 |
---|---|---|
committer | panne <unknown> | 2005-01-16 12:58:08 +0000 |
commit | efb81da9576a5b4b9befab399a13efbb563b0f36 (patch) | |
tree | a65d52942a25ebb6dca90223454a1cc43620e00f /src/HaddockDevHelp.hs | |
parent | 6ab20e84e1e6b1e8b97466753673ce3a875152f8 (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.hs | 2 |
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) = |