guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hash table handles


From: Paul Jarc
Subject: Re: hash table handles
Date: Tue, 05 Nov 2002 12:15:51 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Thien-Thi Nguyen <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]