|
From: | Stefan Monnier |
Subject: | Re: CL package serious deficiencies |
Date: | Sat, 11 Feb 2012 23:41:07 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) |
>> As for :start :end :from-end and :count, I've never even seen them >> used with delete-if. > Here's one example: > (defun delete-nth (n sequence) > (delete-if (constantly t) sequence :start n :count 1)) Two problems: 1- that can be implemented just as well with pop+nthcdr. 2- I can't remember seeing any code that needs such a functionality either. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |