-- 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 MonadIO computation so that it prints out the execution
--   time.
timeIt :: MonadIO m => m a -> m a

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

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

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