From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: hash table handles Date: Tue, 05 Nov 2002 10:41:21 -0800 Sender: guile-user-admin@gnu.org Message-ID: References: Reply-To: ttn@glug.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036533564 16276 80.91.224.249 (5 Nov 2002 21:59:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 21:59:24 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189BjF-0004E4-00 for ; Tue, 05 Nov 2002 22:59:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 189955-00026I-00; Tue, 05 Nov 2002 14:09:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 1898qz-000776-00 for guile-user@gnu.org; Tue, 05 Nov 2002 13:55:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 1898qs-00076K-00 for guile-user@gnu.org; Tue, 05 Nov 2002 13:55:07 -0500 Original-Received: from ca-crlsca-cuda3-c6a-b-211.crlsca.adelphia.net ([68.71.15.211] helo=giblet) by monty-python.gnu.org with esmtp (Exim 4.10) id 1898qr-00075p-00 for guile-user@gnu.org; Tue, 05 Nov 2002 13:55:01 -0500 Original-Received: from ttn by giblet with local (Exim 3.35 #1 (Debian)) id 1898dd-0000jv-00; Tue, 05 Nov 2002 10:41:21 -0800 Original-To: prj@po.cwru.edu In-reply-to: (prj@po.cwru.edu) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1335 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1335 From: prj@po.cwru.edu (Paul Jarc) Date: Tue, 05 Nov 2002 12:15:51 -0500 Thien-Thi Nguyen wrote: > using cdr to access the associated data should be fine. I had no doubt of that. My doubt is about set-cdr!. sorry, i wasn't clear: "using cdr" should be "using the cdr", i.e., read via "cdr", write via "set-cdr!". I don't see that in the 1.6.0 manual, so I'll assume it was added later. see 1.4.1.91 manual, which derives from 1.5.7 and HEAD, mostly. the referenced portion is part of the hash*-get-handle docstrings harvested automagically from libguile/hashtab.c by "make" in doc/ref/. Changes to the cdr of a handle (e.g., via set-cdr!) will be reflected in future lookups for the same key. Changes to the car of a handle (e.g., via set-car!) may cause future lookups to fail. or, "behavior after changing the car of a handle is unspecified." thi _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user