A couple of notes after trying tests.scm Duy Nguyen (09 Sep 2019 10:09 UTC)
|
||
Re: A couple of notes after trying tests.scm
Duy Nguyen
(09 Sep 2019 13:31 UTC)
|
||
Re: A couple of notes after trying tests.scm
Arthur A. Gleckler
(09 Sep 2019 15:10 UTC)
|
||
(missing)
|
||
Re: A couple of notes after trying tests.scm
Arthur A. Gleckler
(10 Sep 2019 21:57 UTC)
|
||
Re: A couple of notes after trying tests.scm
Duy Nguyen
(10 Sep 2019 12:04 UTC)
|
||
Re: A couple of notes after trying tests.scm
Linus Björnstam
(08 Oct 2019 20:08 UTC)
|
A couple of notes after trying tests.scm Duy Nguyen 09 Sep 2019 10:08 UTC
The test file imports transducers module instead of srfi-171. I suppose transducers is from Guile, so we're not really testing the reference implementation. The tests test "transduce" procedure, not defined in the ref. implementation. I'm guessing this is list-transduce. tindex is tested and exported, but not defined in the SRFI. tcat is also mentioned in the SRFI and the test, probably should renamed to tconcatenate. Same for tdedups -> delete-duplicates. There are also tpartition-by and tpartition-all, used by the tests but I don't know what these are in the SRFI. 171-impl.scm uses reverse!. As far as I can tell this is not part of standard scheme. Not sure if it should mentioned in the "Sample implementation" section. -- Duy