aboutsummaryrefslogtreecommitdiff
path: root/src/Distribution/Haddock.hs
diff options
context:
space:
mode:
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)