Safe Haskell | None |
---|
Some functions brought over from my obsolete progress packages.
Documentation
oneResult :: ListLikePlus a c => [Chunk a] -> ExitCodeSource
Extract the result code of an output stream, throw an error if there isn't exactly one of them.
timeTask :: IO a -> IO (a, NominalDiffTime)Source
Run a task and return the elapsed time along with its result.