diff options
author | Teddy Wing | 2017-09-06 23:27:45 +0200 |
---|---|---|
committer | Teddy Wing | 2017-09-06 23:27:45 +0200 |
commit | 712dca5f860529c33ad19e7babf5c471181e2573 (patch) | |
tree | 35b0c86ca986d2526676a74e96e8a1a82e16a4c0 /src/Bot.hs | |
parent | 8e5b862c9171af8af7c6c0d0456ae67a9e737633 (diff) | |
download | sorbot-712dca5f860529c33ad19e7babf5c471181e2573.tar.bz2 |
tmp; fix/rewordtmp
Diffstat (limited to 'src/Bot.hs')
-rw-r--r-- | src/Bot.hs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Bot.hs b/src/Bot.hs new file mode 100644 index 0000000..a661ea4 --- /dev/null +++ b/src/Bot.hs @@ -0,0 +1,15 @@ +-- {-# LANGUAGE ConstraintKinds #-} +-- {-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE GeneralizedNewtypeDeriving #-} + +module Bot + ( Bot(..) + ) where + +import Control.Monad.Reader + +import CliOptions (Options) + +newtype Bot a = Bot + { runBot :: ReaderT Options IO a + } deriving (Monad, Functor, Applicative, MonadIO) |