From 64e2f33e7185fe16305cd8852173747281a8c77a Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 6 Nov 2014 14:41:35 +0100 Subject: (Optionally) get configuration from environment. --- src/Main.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Main.hs') 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. -- cgit v1.2.3