From cd366dc004b82f0ea937da231cbc1c9abfdca934 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 11 Sep 2017 00:57:50 +0200 Subject: 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. --- src/Config.hs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/Config.hs (limited to 'src') 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 +-- { -- cgit v1.2.3