clock-extras-0.1.0.2: A couple functions that probably should be in the 'clock' package

System.Clock.TimeIt

Description

A couple functions that probably should be in the clock package. See this issue: https://github.com/corsis/clock/issues/42

Synopsis

# Documentation

elapsedTime :: IO a -> IO (a, Double) Source #

Time an action. Return the elasped time the result

Subtract two TimeSpecs and return the result in seconds