[Top][All Lists]

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

Re: [PATCH] sequence manipulation functions

From: Bozhidar Batsov
Subject: Re: [PATCH] sequence manipulation functions
Date: Wed, 12 Nov 2014 21:12:14 +0200

I don’t see here common sequence functions like take-while, drop-while, remove (the opposite of filter), mapcat, flatten, etc. 
The clojure standard library and dash.el can be used as reference for adding other useful functions as well. Such a library should eliminate the need for third-party libs like `dash.el`. I find it amusing that there were suggestions about a similar library last year and they were quickly shot down…

Anyways, for the prefixing to make sense functions like mapcar,  mapc and friends should be aliased as well (ideally with names like `seq-map`, `sea-each`, etc).  

Another thing to consider - if you want the library to be adopted quickly it might make sense to distribute it as a ELPA package for older Emacsen.


On November 12, 2014 at 19:50:16, Nicolas Petton (address@hidden) wrote:

Stefan Monnier <address@hidden> writes:

>> Fair enough. One question though, if sequences.el is not preloaded, then
>> I guess these functions should not be documented in the manual?
> Why not? Just state that they need a (require 'seq) before you can
> use them.

Should I put it in the Elisp manual in sequences.texi?


reply via email to

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