aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Types.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2007-11-10 17:19:48 +0000
committerDavid Waern <david.waern@gmail.com>2007-11-10 17:19:48 +0000
commit3cd9016f5263741a38b904d1dad474abff8c2f3e (patch)
tree975158657f34fd549d96bd18e2fecb9d8af8dc2e /src/Haddock/Types.hs
parent08b75f838779c59083e4f693ed2b002d5ac2c49f (diff)
FIX: contents and index should include external package modules when --gen-contents/--gen-index
Diffstat (limited to 'src/Haddock/Types.hs')
-rw-r--r--src/Haddock/Types.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs
index e1fd5b4a..e46ddf9e 100644
--- a/src/Haddock/Types.hs
+++ b/src/Haddock/Types.hs
@@ -170,8 +170,8 @@ data InstalledInterface = InstalledInterface {
-- | Convert an 'Interface' to an 'InstalledInterface'
-toInstalledInterface :: Interface -> InstalledInterface
-toInstalledInterface interface = InstalledInterface {
+toInstalledIface :: Interface -> InstalledInterface
+toInstalledIface interface = InstalledInterface {
instMod = ifaceMod interface,
instInfo = ifaceInfo interface,
instDocMap = ifaceRnDocMap interface,