> (import (srfi 114))
> (comparator-hash string-comparator "")
Error: unhandled condition:
Compound condition has these components:
#<record &assertion>
#<record &who>
who : "string-ref"
#<record &message>
message : "string-ref: illegal second argument: -1 is not a valid index into string\n"
The bug is in make-vectorwise-hash, which is defined in lib/SRFI/srfi/114.constructors.scm.
The (= index 0) should be (<= index 0).
The bug is in
make-vectorwise-hash
, which is defined in lib/SRFI/srfi/114.constructors.scm. The(= index 0)
should be(<= index 0)
.