david135 / ypsilon

Automatically exported from code.google.com/p/ypsilon
Other
0 stars 0 forks source link

srfi lists and time errors with ypsilon-354 #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The SRFI implementations that come with Ypsilon-354
do not pass the test suites at:

http://github.com/marcomaggi/nausicaa/tree/master/srfi/tests/test-lists.sps
http://github.com/marcomaggi/nausicaa/tree/master/srfi/tests/test-time.sps

which IMHO they should.  The tests for the time SRFI
for the ~U and ~V DATE->STRING function have problems
I hope to fix in the future.

Notice that:

1. Ypsilon itself passes all the lists test with the
   modified reference implementation at:

http://github.com/marcomaggi/nausicaa/tree/master/srfi/libraries/srfi/lists.sls

   and most of the time tests with the modified
   reference implementation at:

http://github.com/marcomaggi/nausicaa/tree/master/srfi/libraries/srfi/time.sls

2. Larceny passes all the lists test with its own
   SRFI lists implementation.

See also:

http://srfi.schemers.org/srfi-19/post-mail-archive/msg00029.html

I will stick with what the reference implementation
does.

Original issue reported on code.google.com by mrc....@gmail.com on 8 Jan 2009 at 7:22

GoogleCodeExporter commented 9 years ago
Thank you for your bug report and great test suites! 

I fixed (srfi :1) and (srfi :19) and trunk directory is updated to revision 356.
This revision passes all test-lists.sps, and passes most of tests in time.sls.
Please Try!

note:
following tests in time.sls failed.
(check (date->string date-1 "~U") => "23")
(check (date->string date-1 "~V") => "23")
(check (date->string date-2 "~V") => "41")
(check (date->string date-2 "~V") => "41")
(check (date->string date-2 "~V") => "41")

-- fujita

Original comment by y.fujita...@gmail.com on 9 Jan 2009 at 3:51