1
Fork 0

Add Reader functionality into postlude.

master
Joshua Potter 2017-11-27 06:43:01 -08:00
parent 5675f8b10d
commit bff2a04359
2 changed files with 13 additions and 1 deletions

View File

@ -18,4 +18,5 @@ library
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
build-depends: base >= 4.7 && < 5, build-depends: base >= 4.7 && < 5,
mtl == 2.2.1 mtl == 2.2.1,
transformers == 0.5.2.0

View File

@ -36,12 +36,23 @@ import Control.Monad as X
, return , return
) )
import Control.Monad.Reader as X
( MonadReader
, ask
, local
, reader
)
import Control.Monad.Trans as X import Control.Monad.Trans as X
( MonadIO ( MonadIO
, lift , lift
, liftIO , liftIO
) )
import Control.Monad.Trans.Reader as X
( ReaderT (..)
)
import Data.Bool as X import Data.Bool as X
( Bool(..) ( Bool(..)
) )