Yes, modification times are reported in seconds, so you'll have to wait on average 0.5s for a file change to be visible via the modification date. Due to buffers and filesystem optimisations it might even take longer.
On 16 December 2010 16:50, Arnaud Bailly <arnaud.oq...@gmail.com> wrote: > actually, IRL the code works as expected. Might it be possible that > the speed of test execution is greater than the granularity of the > system's modification timestamp? > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > -- Push the envelope. Watch it bend. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe