[Haskell-cafe] Catching up on Time and Directory

David Virebayre dav.vire+haskell at gmail.com
Tue Nov 16 07:32:26 EST 2010


2010/11/16 Jon Fairbairn <jon.fairbairn at cl.cam.ac.uk>:

> 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.

I'm interested too. There's so many times and dates types it's confusing.
I had a problem last week, got it to compile but I'm not sure I'm
doint it right. ( asked but got no replies on the list )

David.


More information about the Haskell-Cafe mailing list