If this is not a toy program I would really suggest using something that is
builtin in the OS of choice. On Linux there is inotify (
http://en.wikipedia.org/wiki/Inotify), but I'm pretty sure that other OSes
have similar interfaces. The "modification time" method seems really fragile
and I probably not very efficient as well.

Best regards,
Krzysztof Skrzętnicki

On Thu, Dec 16, 2010 at 17:50, Arnaud Bailly <[email protected]> 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
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to