Last active
August 21, 2019 05:11
-
-
Save freeman42x/6895e15d89486e966d6ce2a4ae63d279 to your computer and use it in GitHub Desktop.
Haskell Turtle - getting Text output from inshellWithErr
This file contains hidden or 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
myFunction :: Shell () | |
myFunction = do | |
out <- inshellWithErr "stack build" empty | |
liftIO $ putStr (lineToText (bifold out)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment