On Mon, 16 Jun 2008, Achim Schneider wrote: > We have to resort to IO actions to get the time, and to IORefs because > we need to chain up different calls to getCurrentTime using the IO > Monad. The rest of the program can work with whatever you like best. Isn't (StateT s IO a) the cleaner alternative to IORef?