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 _______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
