[Haskell-cafe] Behaviour of System.Directory.getModificationTime

Krzysztof Skrzętnicki gtener at gmail.com
Thu Dec 16 23:18:59 CET 2010


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 <arnaud.oqube at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20101216/a14734a9/attachment.htm>


More information about the Haskell-Cafe mailing list