On Tue, Nov 16, 2010 at 6:42 AM, Michael Snoyman <[email protected]> wrote:
> On Tue, Nov 16, 2010 at 12:30 PM, Jon Fairbairn
> <[email protected]> wrote:
>>
>> 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.
>
> Well, if it makes you feel any better: yes, it seems that you're doing
> it the right way, and yes the right way is awkward. Perhaps it's time
> to deprecate old-time and get directory to use the time datatypes
> directly? While we're at it, maybe we could deprecate old-locale as
> well. It's always awkward starting a new project and importing an
> old-* library immediately...
>

What is the replacement for old-locale? I've used it and not known I
should have been using something better.

Antoine
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to