aboutsummaryrefslogtreecommitdiff
path: root/src/Distribution/Haddock.hs
diff options
context:
space:
mode:
authorDavid Waern <unknown>2007-08-17 11:41:05 +0000
committerDavid Waern <unknown>2007-08-17 11:41:05 +0000
commit93d806105dd027f4d31a76e2bd2410001fe10b29 (patch)
tree600c614474eee1bd402f67578bb32777dd84f8df /src/Distribution/Haddock.hs
parentd0093c2f3274cf393dfddbc183c60cb35b8d5c3b (diff)
Add top module comment to all files
Diffstat (limited to 'src/Distribution/Haddock.hs')
-rw-r--r--src/Distribution/Haddock.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Distribution/Haddock.hs b/src/Distribution/Haddock.hs
index bf57605e..b43c4f6b 100644
--- a/src/Distribution/Haddock.hs
+++ b/src/Distribution/Haddock.hs
@@ -1,14 +1,23 @@
+--
+-- Haddock - A Haskell Documentation Tool
+--
+-- (c) Simon Marlow 2003
+--
+
+
module Distribution.Haddock (
readInterfaceFile,
H.InterfaceFile(..)
) where
+
import Haddock.Exception
import qualified Haddock.InterfaceFile as H
import Control.Exception
import Control.Monad
+
readInterfaceFile :: FilePath -> IO (Either String H.InterfaceFile)
readInterfaceFile f =
liftM Right (H.readInterfaceFile f)