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: Fri, 4 Mar 2022 01:48:56 +0100


> Am 04.03.2022 um 01:20 schrieb Stefan Monnier <monnier@iro.umontreal.ca>:
> 
>>>> 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?
> 
> Define `it`.
> The dispatch is expected to be on the `type` argument (using an `eql` 
> specializer).
> 

Doesn't that contradict the docstring?

   TYPE must be one of following symbols: vector, string or list.


reply via email to

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