emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] externals/org 26ef5e3e5b: org-src: Use `sh-mode' for all the


From: Mattias Engdegård
Subject: Re: [elpa] externals/org 26ef5e3e5b: org-src: Use `sh-mode' for all the shells it can handle
Date: Mon, 17 Apr 2023 20:33:40 +0200

17 apr. 2023 kl. 19.37 skrev Stefan Monnier <monnier@iro.umontreal.ca>:

>>   (cons X1 ... (cons Xn Y)...)
>> 
>> into
>> 
>>   (nconc (list X1 ... Xn) Y)
> 
> Hmm.., turning a pure expression into a (internally) side-effecting one?

The transform would have to be made at a low enough level where purity no 
longer matters, perhaps in codegen. (Until we get a GC that penalises mutation.)

> How 'bout adding&using `list*` instead?

I wouldn't mind adding `list*` at all. (It would eventually compile to list + 
nconc, of course.)

We could make backquote emit `list*` and avoid stack overflow problems of the 
sort that was mentioned earlier (or maybe it was something else).




reply via email to

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