aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Utils.hs
diff options
context:
space:
mode:
authorDavid Waern <unknown>2007-08-29 23:26:24 +0000
committerDavid Waern <unknown>2007-08-29 23:26:24 +0000
commit2ad606aaea58bce57ebb1681831514caf6ff56a3 (patch)
treea0f86d267a922efa5dc8929074934e5d605a86b5 /src/Haddock/Utils.hs
parent658e79eddf0ac941d2719ec0a3aea58f42ef1277 (diff)
Rename HaddockModule to Interface and a few more refactorings
Diffstat (limited to 'src/Haddock/Utils.hs')
-rw-r--r--src/Haddock/Utils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Utils.hs b/src/Haddock/Utils.hs
index 52618c30..81549c90 100644
--- a/src/Haddock/Utils.hs
+++ b/src/Haddock/Utils.hs
@@ -61,7 +61,7 @@ import System.IO.Unsafe ( unsafePerformIO )
-- Some Utilities
-- | extract a module's short description.
-toDescription :: HaddockModule -> Maybe (HsDoc Name)
+toDescription :: Interface -> Maybe (HsDoc Name)
toDescription = hmi_description . hmod_info
-- ---------------------------------------------------------------------------