help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to specialize seq-concatenate and seq-into-sequence?


From: Philipp Stephani
Subject: Re: How to specialize seq-concatenate and seq-into-sequence?
Date: Thu, 3 Mar 2022 21:49:19 +0100


> Am 03.03.2022 um 18:40 schrieb Stefan Monnier via Users list for the GNU 
> Emacs text editor <help-gnu-emacs@gnu.org>:
> 
> Philipp Stephani [2022-03-03 16:50:00] wrote:
>> 1. Is the idea that seq-into-sequence should return a "primitive" sequence
>> (vector, list, string)?  At least that's my interpretation, but the
>> docstring isn't 100% clear.
> 
> I think that's the idea, yes.

OK, thanks for confirming.

> 
>> 2. seq-concatenate takes a &rest argument - AIUI it's not possible to 
>> specialize that?
> 
> I think the idea is that you'd use something like `seq-do` on each
> sequence.

But how would one go about writing the cl-defmethod for it?




reply via email to

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