On Mon, 1 Dec 2025 13:16:30 -0800 JRA <[email protected]> wrote:

> On Mon, 01 Dec 2025 19:13:02 +0100 Mario Domenech Goulart 
> <[email protected]> wrote:
>> 
>> On Sun, 30 Nov 2025 16:35:36 -0800 J Altfas via Chicken-users 
>> <[email protected]> wrote:
>> 
>> > srfi-162 extends srfi-128 with additional procedures and
>> > convenient to use pre-built comparators. Since it retains all
>> > functionality of srfi-128, srfi-162 is in effect a completely
>> > compatible replacement. This egg modifies the reference 
>> > implementation of srfi-162 for Chicken-6.
>> >
>> > Repository: https://codeberg.org/jrapdx/srfi-162
>> > Release-info: 
>> > https://codeberg.org/jrapdx/srfi-162/raw/branch/main/srfi-162.release-info
>> > Documention: https://wiki.call-cc.org/eggref/6/srfi-162  
>> 
>> Thanks.  Tests are failing:
>> 
>> -- testing vector/cdr
>> -------------------------------------------------------- (vector-cdr
>> '#(1 2 3 4)) ............................................. [ PASS]
>> (vector-cdr '#(1))
>> ................................................... Warning: error in
>> group outside of tests [ PASS] 2 tests completed in 0.0 seconds.
>> 2 out of 2 (100%) tests passed.
>> -- done testing vector/cdr
>> --------------------------------------------------- 
>>  
>> Error: unbound variable: make-comparator
>> 1 test completed in 0.0 seconds.
>> 1 error (100%).
>> 0 out of 1 (0%) tests passed.
>> -- done testing comparators
>> --------------------------------------------------
>> 
>> All the best.
>> Mario
>
> That's strange. On Linux and FreeBSD, the egg passes 'test-new-egg'
> with no problerms. (This is after uninstalling locally installed
> srfi-128 and srfi-162.) In both OS using latest chicken (rev
> 224e7aa3).
>
> So I don't understand why the above failures occurred. Appreciate any
> insights you could share.

Thanks for the details.  I was using 44df27bb of chicken-core.  I've
updated it to the latest state (224e7aa347) and now test-new-egg passes.
To be honest, I don't know exactly which change ended up fixing the
issue.

That said,
https://codeberg.org/jrapdx/srfi-162/src/tag/0.1.0/tests/run.scm#L8-L13
looks particularly strange.

Anyway, I've added your egg.  Thanks for packaging srfi-162.

All the best.
Mario
-- 
https://parenteses.org/mario

Reply via email to