unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: hash table handles
Date: Tue, 05 Nov 2002 12:15:51 -0500	[thread overview]
Message-ID: <m3iszc7x9e.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <E188sq8-0007mj-00@giblet> (Thien-Thi Nguyen's message of "Mon, 04 Nov 2002 17:49:12 -0800")

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!.

> i see this:
>
>   By convention, a handle in a hash table is the pair which associates a
>   key with a value.

I don't see that in the 1.6.0 manual, so I'll assume it was added
later.  Assuming the following is in fact true, I would also like to
see something to the effect of:
  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.


paul


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2002-11-05 17:15 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 [this message]
2002-11-05 18:41       ` Thien-Thi Nguyen

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=m3iszc7x9e.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).