diff options
Diffstat (limited to 'src')
| -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) | 
