aboutsummaryrefslogtreecommitdiffstats
path: root/src/Config.hs
diff options
context:
space:
mode:
authorTeddy Wing2017-09-11 00:57:50 +0200
committerTeddy Wing2017-09-13 04:47:08 +0200
commitcd366dc004b82f0ea937da231cbc1c9abfdca934 (patch)
tree25399a4377578c6e3f1108d793e4d7553eb0e429 /src/Config.hs
parentae6949327ed8bd8cfa528da7741333274203af44 (diff)
downloadsorbot-cd366dc004b82f0ea937da231cbc1c9abfdca934.tar.bz2
Add Config
An old config object, from before I decided to go with the `Bot` type. Committed here just to show some of the process. We'll be removing it soon.
Diffstat (limited to 'src/Config.hs')
-rw-r--r--src/Config.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Config.hs b/src/Config.hs
new file mode 100644
index 0000000..0462592
--- /dev/null
+++ b/src/Config.hs
@@ -0,0 +1,16 @@
+-- module Config
+-- ( Config(..)
+-- ) where
+--
+-- import Control.Monad.Reader (ReaderT)
+--
+-- import CliOptions (Options)
+--
+-- -- type Config = Options
+--
+-- -- data Config a = ReaderT Options a
+-- -- newtype Config a = ReaderT Options
+-- -- { config :: Options
+--
+-- newtype Config = Config
+-- {