Skip to content

capture and return output #3

trystan opened this Issue Mar 7, 2011 · 1 comment

1 participant

trystan commented Mar 7, 2011

This package is cool indeed. Instead of silently, though, I think the following would be more useful:

capture :: IO a -> IO (String, a)

this would capture the stdout and return it along with the result.. Could you add this to your API?


trystan commented Mar 8, 2011

Added hCapture and capture.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.