- changed status to resolved
hashtable doesn't accept bignum hash value
Issue #50
resolved
This raises an error.
(import (rnrs))
(let ((ht (make-hashtable (lambda (bv)
(bytevector-uint-ref bv 0 (endianness big) 16))
equal?)))
(hashtable-set!
ht #vu8(79 191 14 146 23 193 17 228 162 104 37 249 166 72 46 205) #t))
Comments (1)
-
reporter - Log in to comment
Modified to check returned value and use eqv-hash so that bignum won't overflow. (Fixes
#50)→ <<cset d2d583ece0d9>>