|
From: | Constantino Calancha |
Subject: | bug#21782: 25.0.50; New functions nfront/front |
Date: | Fri, 30 Oct 2015 11:53:30 +0900 |
User-agent: | Opera Mail/12.16 (Linux) |
Im sorry Michael, but i dont see your point: do you mean the fact to call nreverse twice? nreverse is in fact very efficient; and last already use nthcdr in its implementation. Please elaborate more. As i mentioned, they are not exactly the same function as seq-take. Why i need to pollute my global space with all seq.el just to use this fundamental operation on a list? I we want this in the core, we may also consider to implement such functionality in src/fns.c TinoOn Fri, 30 Oct 2015 11:38:33 +0900, Michael Heerdegen <michael_heerdegen@web.de> wrote:
Tino Calancha <f92capac@gmail.com> writes:+ (nreverse (last (nreverse list) n))))Isn't this horribly inefficient? It would be better to use `nthcdr' or a simple loop. Dunno if this should be in the core, I think having this functionality in "seq.el" is a good place. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |