[plt-scheme] Re: One more SRFI 19 issue
Noel Welsh wrote:
> IIRC the difference between PLT's date structure and the
> SRFI 19 one is only a single field. If someone with
> knowledge of SRFI 19 (say, David) would like to make a
> proposal to modify PLT's date struct (and someone else is
> prepared to implement it; don't look at me!) we could do
> away with the annoying name clash.
SRFI 19 dates include a nanosecond field, which PLT dates lack, and PLT dates
have a dst? field which SRFI 19 dates lack. Also, I believe PLT dates take
the week-day and year-day as arguments to the make-date constructor, whereas
SRFI 19 calculates these values.
Neil Van Dyke has a version of SRFI 19 that makes SRFI 19 dates a subtype of
the PLT date structure. This is a feature I hope to include in my
implementation too.
http://www.neilvandyke.org/srfi19-plt/
David