diff options
author | Luite Stegeman <stegeman@gmail.com> | 2014-08-20 05:42:45 +0200 |
---|---|---|
committer | Luite Stegeman <stegeman@gmail.com> | 2014-08-22 20:46:45 +0200 |
commit | a18e080534a2778f37cb8ff9d501959fe6cc7acd (patch) | |
tree | 71eca80a7b76e7f2737c95334ba72a85acf6bad6 /src/Documentation | |
parent | 259b2a9d821716a4e0ad5a1ea595576bac077daa (diff) |
export things to allow customizing how the Ghc session is run
Diffstat (limited to 'src/Documentation')
-rw-r--r-- | src/Documentation/Haddock.hs | 8 |
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 |