summaryrefslogtreecommitdiff
path: root/Main.hs
diff options
context:
space:
mode:
authorpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-14 11:52:41 +0000
committerpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-14 11:52:41 +0000
commitde9e80d18816cd11c4b7785e635a3fb0dfe0433a (patch)
tree490d2e163c8236f3c99776fc9747b7699e426c6a /Main.hs
parenta79f958619a051a674700162b661026ab2553ece (diff)
modularization
git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@22 9f8f72e9-4bf4-416e-b76e-7d4203597157
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Main.hs b/Main.hs
new file mode 100644
index 0000000..f89ac3b
--- /dev/null
+++ b/Main.hs
@@ -0,0 +1,13 @@
+module Main where
+
+import HsBot
+import Conf
+
+main :: IO ()
+main = do
+ let conf = load
+ conf' <- conf -- Extract Conf from the IO Monad
+ connect conf' makeConf
+
+r = main
+