[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] [scheme-reports-wg2] Date and time arithmetic library proposal for R7RS large Scheme
I think that there should be a decision of *how much* of ISO 8601 to
support.
One should not be misled by many Web pages and libraries into thinking
that ISO 8601 is just about how to format Gregorian dates and times of
day. I'd say that the scale of ISO 8601 is comparable to that of the
numeric tower. There are also important decisions to make, like the
semantics of mixed-precision arithmetic on, say, time points.
A few years ago, I spent person-weeks implementing most of ISO 8601, and
the API that I arrived at was necessarily (I felt) not nearly as neat
and tidy as TimeAdvancedCowan. My goal was an end-all, be-all library
for time in Scheme, not something intended for RnRS. However, the
experience has led me to believe that RnRS should make a conscious,
informed decision of how much of ISO 8601 to support, even though the
answer might be "only what Java does".
--
http://www.neilvandyke.org/
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports