[Top][All Lists]

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

Re: Object identity

From: Lars Brinkhoff
Subject: Re: Object identity
Date: 22 Oct 2003 09:35:37 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Barry Margolin <> writes:
> Lars Brinkhoff  <> wrote:
> >I have no desire to get the not-quite-unique identifiers in Common
> >Lisp.  I want to implement PRINT-UNREADABLE-OBJECT in Emacs Lisp.
> I understand that.  My point was that just as PRINT-UNREADABLE-OBJECT has
> to be part of the implementation in CL, your requested object-identity
> function would have to be part of the Emacs Lisp implementation.

Well, unless real storage addresses are needed, a weak hash table
could also to a way to implement object-identity, right?

> I don't think there's any way to write this function in Emacs Lisp,
> it needs to be a primitive in the C code that implements the Lisp
> interpreter.

I might try to add such a primitive in the future.

Thanks to you and Stefan Monnier for your thoughtful replies.

Lars Brinkhoff,         Services for Unix, Linux, GCC, HTTP
Brinkhoff Consulting

reply via email to

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