unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@giblet.glug.org>
Cc: guile-user@gnu.org
Subject: Re: hash table handles
Date: Tue, 05 Nov 2002 10:41:21 -0800	[thread overview]
Message-ID: <E1898dd-0000jv-00@giblet> (raw)
In-Reply-To: <m3iszc7x9e.fsf@multivac.cwru.edu> (prj@po.cwru.edu)

   From: prj@po.cwru.edu (Paul Jarc)
   Date: Tue, 05 Nov 2002 12:15:51 -0500

   Thien-Thi Nguyen <ttn@giblet.glug.org> 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


      reply	other threads:[~2002-11-05 18:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30 17:17 hash table handles Paul Jarc
2002-11-04 23:56 ` Paul Jarc
2002-11-05  1:49   ` Thien-Thi Nguyen
2002-11-05 17:15     ` Paul Jarc
2002-11-05 18:41       ` Thien-Thi Nguyen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1898dd-0000jv-00@giblet \
    --to=ttn@giblet.glug.org \
    --cc=guile-user@gnu.org \
    --cc=ttn@glug.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).