The tests now run correctly for me.  However, in order to make the (srfi 146) and (srfi 146 hash) importable into Chibi from any working directory, I must copy the nieper directory and the contents of the srfi/hamt directory into $PREFIX/share/chibi, thus polluting the Chibi library namespace.  This is not Chibi-specific, but affects all R7RS systems, because R7RS has no concept of modules that are only locally visible.  The tests hack around this by setting the Chibi import path on the command line, but this is not a general solution.

I suggest that the SRFI include the nieper and hamt/* code files using relative paths rather than importing them as libraries.  This is a relatively simple change.


On Sat, May 19, 2018 at 7:00 PM, Arthur A. Gleckler <xxxxxx@speechcode.com> wrote:
I've just published draft #13 of SRFI 146.  It was submitted by Marc Nieper-Wißkirchen, primary author of the SRFI.


Here are Marc's comments on the draft:

  Commit Summary
    Added missing imports of case-lambda to HAMT code.
    Minor edit.
    Minor edit.
    Minor edit.
    Minor edits.
    Document dependencies for (srfi 146 hash).
    Document (srfi 146 hash) dependencies
    Use shipped libraries
    Fixed hashmap-pop test.

  File Changes
    M Makefile (2)
    M srfi-146.html (142)
    M srfi/146.scm (26)
    M srfi/146/hash/test.sld (11)
    M srfi/146/test.sld (72)
    M srfi/hamt/hamt-misc.sld (3)
    M srfi/hamt/hamt.sld (3)

Here's the diff:


Regards,


SRFI Editor

To unsubscribe from this list please go to http://www.simplelists.com/confirm.php?u=rBAxDxCgJFjJUssha9ixdMZU57qO20An