From 356926db7763b21b9c4e1a9fd36e37caa04c25ca Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 11 Sep 2017 00:32:37 +0200 Subject: Create `Bot` type This type will be used as an application-level monad, enabling us to transmit configuration coming from CLI arguments (`Options`) to any function that needs it. The immediate benefit is that we'll be able to easily transmit the specified language to functions to allow them to use the right translation string. --- sorbot.cabal | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sorbot.cabal') diff --git a/sorbot.cabal b/sorbot.cabal index 6761349..26ecb20 100644 --- a/sorbot.cabal +++ b/sorbot.cabal @@ -16,6 +16,7 @@ cabal-version: >=1.10 library hs-source-dirs: src exposed-modules: Lib + , Bot , CliOptions , I18n , IRC @@ -30,6 +31,7 @@ library build-depends: base >= 4.7 && < 5 , bytestring , irc-client + , mtl , optparse-applicative , regex-tdfa , sqlite-simple -- cgit v1.2.3