emacs-devel
[Top][All Lists]
Advanced

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

Re: Using gv in map and seq?


From: Stefan Monnier
Subject: Re: Using gv in map and seq?
Date: Wed, 17 Jun 2015 08:58:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> > Something like the patch below seems to work (and it generalizes
>> > map-put to accept for MAP not only symbols but any "lvalue").
>> For lists, yes indeed. I was looking for a simple way to do that,
>> thanks!
> Since the macro-expansion is done before we know what type we'll get,
> the restriction to lvalues carries over to all other types :-(

Hmm.. actually I guess we could try to catch the macro-expansion error
in the list-branch (when the MAP expression is not an lvalue) and
still generate the code for the other branches.


        Stefan



reply via email to

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