-
-
Save kozross/3e780d55d3eb177d3525e9b7d5e9a89f to your computer and use it in GitHub Desktop.
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
runMyStack :: MaybeT (ReaderT Env IO) a -> Env -> IO (Maybe a) | |
runMyStack comp env = case runMaybeT comp of | |
comp' -> runReaderT comp' env | |
-- Or | |
runMyStack comp env = runReaderT (runMaybeT comp) env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment