This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am mclark1129 on github. | |
* I am mclark1129 (https://keybase.io/mclark1129) on keybase. | |
* I have a public key ASBUi3rGPq9odUtUwzrJbqTQWjouKzltjcz2aoncMmcWNgo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Transformer where | |
import Control.Monad.Reader | |
import Control.Monad.Trans | |
data Config = Config { filename :: String } deriving (Show) | |
c = Config { filename = "a.txt" } | |
loadFile :: ReaderT Config IO String |