Re: documentation on putp/getp

Ralf Juengling <[email protected]>
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
On Fri, 2005-03-04 at 17:59, Ralf Juengling wrote:
> [...]
> 
> * Hash tables can also rely on pointer equality, as implemented by
>   function == . These hash tables are useful to associate a piece of
>   information with a particular lisp object. Functions getp and putp ,
>   for instance, make use of pointer-equality hash tables. The
>   associations of a pointer-equality hash table are automatically
>   removed when the key object is deallocated.
> 
> I'm confused.
> You and the hash table documentation are talking about the key 
> object that gets dereferenced, whereas in the example above it's 
> value object that gets dereferenced. 
> You then just exhibited a documentation bug? (Note also that only
> symbols are allowed as keys for putp/getp).

Brainfart.
What is the object for putp is the key for the hidden hash table 
that encodes the association.

Thanks again,
Ralf




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.