Bug in SRFI 19: time-difference!

David Van Horn <[email protected]>
Newsgroups gmane.lisp.scheme.plt.schematics
Message-ID <[email protected]>
Hello,

I've noticed the following error in SRFI 19:

   (time-difference! (current-time) (current-time))
   time=?: TIME-ERROR type incompatible-time-types

Which is curious since the following works and both procedures are defined in
terms of a common tm:time-difference procedure:

   (time-difference (current-time) (current-time))

Moreover, (time=? (current-time) (current-time)) => #t.  So I have no idea why
this is happening.

Thanks,
David


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.