This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rnrs hashtables


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]