guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Source properties on arbitrary non-immediate values


From: Neil Jerram
Subject: Re: [PATCH] Source properties on arbitrary non-immediate values
Date: Sat, 08 Oct 2005 19:01:01 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> address@hidden (Ludovic Courtès) writes:
>>
>>   guile> (define x 'a-symbol)
>>   guile> (set-source-properties! x '((a . 2)))
>>   ((a . 2))
>>   guile> (source-properties x)
>>   ((a . 2))
>
> A symbol used in two places is the same object, so file/line attached
> by both occurrances will overwrite, or whatever.  Ditto other uniques
> like keywords, and immediates like fixnums and chars.

Indeed.  What was your motivation for wanting to attach source
properties to non-pairs, though?

      Neil





reply via email to

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