[Haskell-cafe] Catching up on Time and Directory

Jon Fairbairn jon.fairbairn at cl.cam.ac.uk
Tue Nov 16 05:30:47 EST 2010


I'm probably terribly out of date with this, so I wonder if
anyone can save me the bother of working out what the
/preferred/ libraries are for (a) determining the
last-modified-time of a file or directory and (b) manipulating
the resulting time datum.

I can find System.Directory.getModificationTime and
Data.Time.formatTime, but using them together seems unduly
awkward.

-- 
Jón Fairbairn                                 Jon.Fairbairn at cl.cam.ac.uk
http://www.chaos.org.uk/~jf/Stuff-I-dont-want.html  (updated 2010-09-14)



More information about the Haskell-Cafe mailing list