This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
rnrs hashtables
- From: Jamison Hope <jrh at theptrgroup dot com>
- To: kawa at sourceware dot org
- Date: Fri, 8 Apr 2011 12:56:23 -0400
- Subject: 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