[Haskell-cafe] schedule function
Corentin Dupont
corentin.dupont at gmail.com
Thu Dec 6 20:50:08 CET 2012
Hi all,
I have a simple question: is there in the libraries a function that
can schedule a variable list of events for me?
For example of the type:
type Schedule = [UTCTime, IO()]
startSchedule :: TVar Schedule -> IO ThreadId
The function startSchedule will have to execute my actions at the
given times. Of course the TVar can be changed by another thread, so
the schedule will have to be recomputed.
Thanks!
Corentin
More information about the Haskell-Cafe
mailing list