Safe Haskell | None |
---|---|
Language | Haskell2010 |
Common print utilities
Documentation
catchOutputStr :: IO a -> IO (a, String) Source
Capture output and err of an IO action
catchOutput :: String -> IO a -> IO a Source
Capture output and err of an IO action to a file
redirectToHandle :: IO b -> Handle -> IO b Source
Redirect out and err to handle