aboutsummaryrefslogtreecommitdiff
path: root/driver/Main.hs
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2012-10-02 00:47:46 +0200
committerSimon Hengel <sol@typeful.net>2012-10-04 16:12:17 +0200
commitae3690c2349b595a1fb459a4374cfe2e668a04aa (patch)
tree36eb06b667ae57de85fe6590ea77af8d17f492a1 /driver/Main.hs
parent96e57fc09b13779c43b1f2465561a7ede242533e (diff)
Export Haddock's main entry point from library
Diffstat (limited to 'driver/Main.hs')
-rw-r--r--driver/Main.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/driver/Main.hs b/driver/Main.hs
new file mode 100644
index 00000000..42b99860
--- /dev/null
+++ b/driver/Main.hs
@@ -0,0 +1,7 @@
+module Main where
+
+import Documentation.Haddock (haddock)
+import System.Environment (getArgs)
+
+main :: IO ()
+main = getArgs >>= haddock