From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: mapping.scm and hashx-remove! Date: Tue, 07 Oct 2003 19:38:09 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87vfr17xtq.fsf@zagadka.ping.de> References: <874qz7yrhc.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1065548343 2442 80.91.224.253 (7 Oct 2003 17:39:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2003 17:39:03 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Oct 07 19:39:01 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A6vnY-00088w-01 for ; Tue, 07 Oct 2003 19:39:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6vnN-0007Lb-Kk for guile-devel@m.gmane.org; Tue, 07 Oct 2003 13:38:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A6vnI-0007Ko-Gk for guile-devel@gnu.org; Tue, 07 Oct 2003 13:38:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A6vmm-00075g-If for guile-devel@gnu.org; Tue, 07 Oct 2003 13:38:43 -0400 Original-Received: from [129.217.163.1] (helo=mail.dt.e-technik.uni-dortmund.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6vmm-00075W-0e for guile-devel@gnu.org; Tue, 07 Oct 2003 13:38:12 -0400 Original-Received: from zagadka.ping.de (unknown [192.168.2.2]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with SMTP id 059E110BA1 for ; Tue, 7 Oct 2003 19:38:11 +0200 (CEST) Original-Received: (qmail 30985 invoked by uid 1000); 7 Oct 2003 17:38:09 -0000 Original-To: guile-devel@gnu.org In-Reply-To: <874qz7yrhc.fsf@zip.com.au> (Kevin Ryde's message of "Sun, 21 Sep 2003 09:23:11 +1000") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2855 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2855 Kevin Ryde writes: > In ice-9/mapping.scm line 97, hash-table-mapping-hooks has a call > > (hashx-get-handle hash-proc assoc-proc delete-proc table key) > > which is the wrong number of arguments for that function. > > Just from looking at it, I wonder if it's meant to be hashx-remove! > instead of hashx-get-handle. > > Except there's no hashx-remove! defined. scm_hashx_remove_x exists, > but it's not given a scheme level binding. > > Looks like scm_hashx_remove_x might be missing "&closure" for > scm_hash_fn_remove_x too, though again that's only from looking at it. Right. Can you write a test case for this and fix it? That would be great! -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel