-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Time monadic computations with an IO base.
--   
--   A simple wrapper to show the used CPU time of monadic computation with
--   an IO base.
@package timeit
@version 2.0

module System.TimeIt

-- | Wrap a <a>MonadIO</a> computation so that it prints out the execution
--   time.
timeIt :: MonadIO m => m a -> m a

-- | Like <a>timeIt</a>, but uses the <a>show</a> rendering of <tt>a</tt>
--   as label for the timing.
timeItShow :: (MonadIO m, Show a) => m a -> m a

-- | Like <a>timeIt</a>, but uses the <a>String</a> as label for the
--   timing.
timeItNamed :: MonadIO m => String -> m a -> m a

-- | Wrap a <a>MonadIO</a> computation so that it returns execution time in
--   seconds, as well as the result value.
timeItT :: MonadIO m => m a -> m (Double, a)
