[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: moving more cl seq/mapping support into core
From: |
Stefan Monnier |
Subject: |
Re: moving more cl seq/mapping support into core |
Date: |
Wed, 06 Oct 2010 01:32:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
>>>> Can you point to a few examples? Parts of cl are ugly (the common use of
>>>> make-symbol instead of gensym, for example, makes macroexpansions
>>>> difficult to read).
>> The use of make-symbol is a fairly recent change, to avoid filling the
>> obarray with an ever-increasing number of temporary symbols.
> But gensymed symbols aren't interned and should be GCed when no longer
> referenced. I thought make-symbol was used just to avoid having to cons
> up a new string for the symbol name.
Oh, you're right. Yes, it's because it's silly to waste time and space
changing the symbol's names.
> Regardless, it'd be nice to be able to switch that off to make some
> macro-expansions legible (or maybe I should write a tree walker that
> disambiguates identically-named but distinct symbols).
The problem is the printed representation, not the use of make-symbol.
The printed representation should use #= and friends to make it clear
which symbols are uninterned and which ones are identical or not.
Stefan
Re: moving more cl seq/mapping support into core, MON KEY, 2010/10/02
Re: moving more cl seq/mapping support into core, Daniel Colascione, 2010/10/04
Re: moving more cl seq/mapping support into core, Richard Stallman, 2010/10/05
Re: moving more cl seq/mapping support into core, Helmut Eller, 2010/10/05
Re: moving more cl seq/mapping support into core, Eli Zaretskii, 2010/10/05