|
From: | Stefan Monnier |
Subject: | Re: Thoughts on getting correct line numbers in the byte compiler's warning messages |
Date: | Thu, 15 Nov 2018 13:01:49 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> Maybe the "big cons-cells" approach is not that bad after all, since it >> doesn't try to introduce new objects which are "equal but not": it just >> introduces a subtype of cons-cells and that's that, so it's semantically >> much simpler/cleaner. > > I'm not sure about that. We'd still have to modify EQ to cope with the > new structure no matter how we do it. No need to modify EQ for the big-cons cells: a big-cons-cell would be a normal cons-cell just with more fields added at its end. It's not a "location + pointer to the real object" like we need to do for symbols, so EQ will do the expected thing on it. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |