Sample implementation: minor bug in make-list-comparator Marc Nieper-Wißkirchen (28 Jan 2017 18:32 UTC)
Fwd: Sample implementation: minor bug in make-list-comparator Arthur A. Gleckler (29 Jan 2017 02:30 UTC)
(missing)
Re: Sample implementation: minor bug in make-list-comparator Arthur A. Gleckler (29 Jan 2017 07:24 UTC)

Sample implementation: minor bug in make-list-comparator Marc Nieper-Wißkirchen 28 Jan 2017 18:32 UTC

This line

https://github.com/scheme-requests-for-implementation/srfi-128/blob/master/comparators/comparators-impl.scm#L279

has to be changed from

((and (empty? a) (empty? b) #f))

to

((and (empty? a) (empty? b)) #f).

If one looks into the code one immediately sees why.

--

Marc