guile-user
[Top][All Lists]
Advanced

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

Re: Macro expansion: unknown location


From: Dmitry Bogatov
Subject: Re: Macro expansion: unknown location
Date: Mon, 16 Jun 2014 01:08:00 +0400
User-agent: Mutt/1.5.22.1 (2013-10-16)

* Mark H Weaver <address@hidden> [2014-06-14 18:45:59-0400]
> > Currently, Guile stores location info using a weak-key hash table, keyed
> > on the datums read from the file.  This means that location info cannot
> > be stored for bare symbols or other immediate values (booleans,
> > characters, small exact integers).
>
> Symbols are not immediate values, so I shouldn't have written "other".
>
> However, because they are interned, they behave like immediates in the
> following sense: 'read' returns the same (by 'eq?') object for any two
> occurrences of a given symbol.  Therefore, there's no way to associate
> source location information with each copy of the same symbol.

Thanks for clarification.

--
Best regards, Dmitry Bogatov <address@hidden>,
Free Software supporter, esperantisto and netiquette guardian.
        git://kaction.name/rc-files.git
        GPG: 54B7F00D

Attachment: pgpg_EbR5HZkM.pgp
Description: PGP signature


reply via email to

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