emacs-devel
[Top][All Lists]
Advanced

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

Re: Generic sequences in seq.el


From: Yuan Fu
Subject: Re: Generic sequences in seq.el
Date: Mon, 7 Jan 2019 23:12:13 -0500

You are right. I can implement my own 
method to return objects that are not vector, string or list.

Still, it would be convenient to have a function
that can destructively modify a sequence. What is
the reason to not have one?

Yuan

On Sun, Dec 23, 2018 at 9:34 AM Stefan Monnier <address@hidden> wrote:
>>   (seq-concatenate 'list (seq-subseq seq 0 n)
>>                          (list element)
>>                          (seq-subseq seq n))
>
> That returns a list, not the sequence.

I'm not sure which sequence is "the" sequence, but a list is
definitely a sequence.


        Stefan

reply via email to

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