/usr/share/doc/libghc-clocked-doc/html/clocked.txt is in libghc-clocked-doc 0.4.1.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | timer functionality to clock IO commands
--
-- clocked is a library that allows you to clock IO-operations. You can
-- use it to clock the rendering of frames, the calculation of steps in a
-- physics engine, the triggering of musical events in a real-time
-- system, etc.
@package clocked
@version 0.4.1.2
module Clocked
data Timer
-- | Run a monadic action with a <a>Timer</a>.
withTimer :: MonadCatchIO m => (Timer -> m a) -> m a
-- | Waits the given amount of seconds minus the elapsed time since the
-- last call to <a>waitTimer</a> (or the initialisation of the timer).
waitTimer :: Timer -> Double -> IO ()
-- | returns a monotonic time in seconds
getTimeDouble :: IO Double
|