aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/InterfaceFile.hs
diff options
context:
space:
mode:
authorDavid Waern <unknown>2007-08-30 16:30:37 +0000
committerDavid Waern <unknown>2007-08-30 16:30:37 +0000
commite185f5ae9c9470b861916aa96933fa72cd703a4e (patch)
tree0ccb61c3b3d48e5050c605f0480030ea29b9c7d0 /src/Haddock/InterfaceFile.hs
parent05e581c7f2ecee466d800b2d01dbb34598de2e20 (diff)
Rename HaddockModule to Interface
Diffstat (limited to 'src/Haddock/InterfaceFile.hs')
-rw-r--r--src/Haddock/InterfaceFile.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Haddock/InterfaceFile.hs b/src/Haddock/InterfaceFile.hs
index 228efa71..6441c503 100644
--- a/src/Haddock/InterfaceFile.hs
+++ b/src/Haddock/InterfaceFile.hs
@@ -9,7 +9,7 @@ module Haddock.InterfaceFile (
InterfaceFile(..),
writeInterfaceFile,
readInterfaceFile,
- hmod2interface
+ iface2interface
) where
@@ -55,10 +55,10 @@ instance Binary InterfaceFile where
env <- get bh
return (InterfaceFile (Map.fromList env))
-hmod2interface hmod = InterfaceMod {
- imModule = hmod_mod hmod,
- imFilename = hmod_orig_filename hmod,
- imExportItems = hmod_rn_export_items hmod
+iface2interface iface = InterfaceMod {
+ imModule = ifaceMod iface,
+ imFilename = ifaceOrigFilename iface,
+ imExportItems = ifaceRnExportItems iface
}
binaryInterfaceMagic = 0xD0Cface :: Word32