Kevin Ryde <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (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 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel