haskore-realtime-0.1: Routines for realtime playback of Haskore songs
Source code
Contents
Index
Haskore.RealTime.Timer
Documentation
data
T
m
Source
Constructors
Cons
getClockTime
:: m
ClockTime
waitInt
::
Int
-> m
()
resolution
::
Integer
lift
:: (
MonadTrans
t,
Monad
m) =>
T
m ->
T
(t m)
Source
liftIO
::
MonadIO
io =>
T
IO
->
T
io
Source
getTime
::
Monad
m =>
T
m -> m
Integer
Source
clockTimeToWaitTime
::
Integer
->
ClockTime
->
Integer
Source
getTimeSeconds
:: (
Fractional
time,
Monad
m) =>
T
m -> m time
Source
clockTimeToSeconds
::
Fractional
time =>
ClockTime
-> time
Source
wait
::
Monad
m =>
T
m ->
Integer
-> m
()
Source
waitUntil
::
Monad
m =>
T
m ->
Integer
-> m
()
Source
waitUntilSeconds
:: (
RealFrac
time,
Monad
m) =>
T
m -> time -> m
()
Source
Produced by
Haddock
version 2.7.2