[Haskell] ANNOUNCE: silently-0.0.2 (thread safe and can capture output)
Trystan Spangler
trystan.s at comcast.net
Tue Mar 8 03:18:50 CET 2011
Silently has doubled in size with two new functions to capture the output of an IO action:
capture :: IO a -> IO (String, a)
hCapture :: Handle -> IO a -> IO (String, a)
All 4 functions now clean up any temp file even if there's an asynchronous exception but it still uses temp files behind-the-scenes; I'll get to that when I can in a week or so.
http://hackage.haskell.org/package/silently
https://github.com/trystan/silently
A big thanks to everyone who had comments and suggestions!
Trystan Spangler
More information about the Haskell
mailing list