From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp? Date: Tue, 17 Jun 2014 18:16:03 -0400 Message-ID: References: <87d2e78nn7.fsf@gmail.com> <87bntr8jtc.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403044142 6810 80.91.229.3 (17 Jun 2014 22:29:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Jun 2014 22:29:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Nicolas Petton Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 18 00:28:55 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wx1s6-0001dc-JS for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 00:28:54 +0200 Original-Received: from localhost ([::1]:53859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx1i1-0005rn-Gq for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Jun 2014 18:18:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx1fq-0002l8-He for help-gnu-emacs@gnu.org; Tue, 17 Jun 2014 18:16:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wx1fi-0000fQ-T9 for help-gnu-emacs@gnu.org; Tue, 17 Jun 2014 18:16:14 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:41149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx1fi-0000fD-Pp for help-gnu-emacs@gnu.org; Tue, 17 Jun 2014 18:16:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMQCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCE X-IPAS-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMQCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="67254199" Original-Received: from 75-119-224-253.dsl.teksavvy.com (HELO ceviche.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Jun 2014 18:16:05 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B36546608C; Tue, 17 Jun 2014 18:16:03 -0400 (EDT) In-Reply-To: <87bntr8jtc.fsf@gmail.com> (Nicolas Petton's message of "Tue, 17 Jun 2014 20:36:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98320 Archived-At: >>> Emacs Lisp is a great Lisp dialect, but I miss `find`, `find-if`, >>> `remove-if`, etc. iteration functions a lot. Sure, I can require cl-lib >>> or use dash, but I'm wondering why these functions are not part of the >>> base language? >> Not sure what you mean. Most languages I know provide list operations >> via libraries. Why should Elisp be different? > What I mean is that Elisp do not have `remove-if` Of course it does, tho it calls it `cl-remove-if'. Stefan