summaryrefslogtreecommitdiffstats
path: root/src/Main.hs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-11-06 14:41:35 +0100
committertv <tv@shackspace.de>2014-11-06 14:41:35 +0100
commit64e2f33e7185fe16305cd8852173747281a8c77a (patch)
tree671ad8d157ef4f384ee7d2fb42f1dfba016a8f17 /src/Main.hs
parentc16f813802b246bc4dd9df20930a3bf5d45f3029 (diff)
(Optionally) get configuration from environment.
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 3a41de4..a2755e0 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -69,7 +69,8 @@ data Resource
-- | Run the application with the default configuration.
-- This calls 'start' with 'defaultConfig'.
main :: IO ()
-main = start defaultConfig
+main =
+ start =<< defaultConfig
-- | Run the application with the given configuration.