aboutsummaryrefslogtreecommitdiff
path: root/src/Documentation/Haddock.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Documentation/Haddock.hs')
-rw-r--r--src/Documentation/Haddock.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Documentation/Haddock.hs b/src/Documentation/Haddock.hs
index 655a9723..1ff5cf75 100644
--- a/src/Documentation/Haddock.hs
+++ b/src/Documentation/Haddock.hs
@@ -57,8 +57,14 @@ module Documentation.Haddock (
Flag(..),
DocOption(..),
+ -- * Error handling
+ HaddockException(..),
+
-- * Program entry point
haddock,
+ haddockWithGhc,
+ getGhcDirs,
+ withGhc
) where
@@ -79,5 +85,5 @@ createInterfaces
-> [String] -- ^ File or module names
-> IO [Interface] -- ^ Resulting list of interfaces
createInterfaces flags modules = do
- (_, ifaces, _) <- withGhc' flags (readPackagesAndProcessModules flags modules)
+ (_, ifaces, _) <- withGhc flags (readPackagesAndProcessModules flags modules)
return ifaces