rnrs hashtables

Jamison Hope jrh@theptrgroup.com
Fri Apr 8 16:56:00 GMT 2011


I just noticed that make-hashtable appears to have its first two
arguments swapped. The R6RS docs have:

(make-hashtable hash-function equiv)    procedure
(make-hashtable hash-function equiv k)    procedure

but in kawa/lib/rnrs/hashtables.scm it is defined as

(define (make-hashtable
	 (comparison :: <procedure>)
	 (hash :: <procedure>)
	 #!optional (size :: <int> hashtable:DEFAULT_INITIAL_SIZE))
   :: hashtable
   (make hashtable comparison hash size))



--
Jamison Hope
The PTR Group
www.theptrgroup.com





More information about the Kawa mailing list