Matthew Donadio wrote:

> Pretty much the whole world runs on UTC.  All of the common time
> distribution systems use UTC.  Technically, GPS doesn't, but the GPS
> signal includes the correction to UTC.  I understand the argument for
> using TAI.  Maybe internally the libray should use TAI, but default to
> giving the user UTC?

I'd argue that the most important factor is compatibility with the
rest of the OS. If the underlying OS doesn't support leap seconds,
then nor should the Haskell environment.

IOW, the Haskell functions need to be wrappers around the
corresponding libc functions (or their Windows equivalents). I.e.:

        Haskell                 C

        getClockTime            gettimeofday
        toCalendarTime          localtime
        toUTCTime               gmtime
        toClockTime             mktime

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to