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: Kevin Ryde
Subject: Re: [PATCH] Source properties on arbitrary non-immediate values
Date: Sat, 08 Oct 2005 06:47:53 +1000
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

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.




reply via email to

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