diff options
author | Simon Hengel <sol@typeful.net> | 2012-10-02 00:47:46 +0200 |
---|---|---|
committer | Simon Hengel <sol@typeful.net> | 2012-10-04 16:12:17 +0200 |
commit | ae3690c2349b595a1fb459a4374cfe2e668a04aa (patch) | |
tree | 36eb06b667ae57de85fe6590ea77af8d17f492a1 /src/Documentation | |
parent | 96e57fc09b13779c43b1f2465561a7ede242533e (diff) |
Export Haddock's main entry point from library
Diffstat (limited to 'src/Documentation')
-rw-r--r-- | src/Documentation/Haddock.hs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Documentation/Haddock.hs b/src/Documentation/Haddock.hs index cbdc4d61..855cdc79 100644 --- a/src/Documentation/Haddock.hs +++ b/src/Documentation/Haddock.hs @@ -48,8 +48,10 @@ module Documentation.Haddock ( -- * Flags and options Flag(..), - DocOption(..) + DocOption(..), + -- * Program entry point + haddock, ) where @@ -58,7 +60,7 @@ import Haddock.Interface import Haddock.Types import Haddock.Options import Haddock.Utils -import Main +import Haddock -- | Create 'Interface' structures from a given list of Haddock command-line @@ -72,4 +74,3 @@ createInterfaces createInterfaces flags modules = do (_, ifaces, _) <- withGhc' flags (readPackagesAndProcessModules flags modules) return ifaces - |