emacs-devel
[Top][All Lists]
Advanced

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

Re: Would seq-range and seq-mapcat be useful?


From: Mark Oteiza
Subject: Re: Would seq-range and seq-mapcat be useful?
Date: Mon, 02 Feb 2015 13:34:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Nicolas Petton <address@hidden> writes:
> Oleh Krehel <address@hidden> writes:
>> I like `seq-group-by`.
>>
>> I'm not sure about `seq-mapcat`, since there is `cl-mapcan` (although
>> it's destructive), I guess `seq-mapcat` would be fine.
>>
>> And I would prefer the name `seq-partition` instead of `seq-slice`,
>> since `partition' is a Clojure name with same effect, and slice means
>> something different in Python.
>
> Yes, I felt the same.

Makes sense. Array slicing seems to be just taking a subsequence in a
lot of languages.  Perhaps aliasing seq-slice to seq-subseq would be
good to do.



reply via email to

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