From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: Including some functions from dash.el in Emacs? Date: Thu, 30 Oct 2014 10:24:39 +0100 Message-ID: <87h9yl7vvs.fsf@gmail.com> References: <87wq7j72wz.fsf@gmail.com> <87ppdb6mol.fsf@gmail.com> <87mw8f6i8i.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414661123 15480 80.91.229.3 (30 Oct 2014 09:25:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2014 09:25:23 +0000 (UTC) Cc: Emacs development discussions To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 30 10:25:18 2014 Return-path: Envelope-to: ged-emacs-devel@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 1Xjlyo-000677-2p for ged-emacs-devel@m.gmane.org; Thu, 30 Oct 2014 10:25:18 +0100 Original-Received: from localhost ([::1]:51574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjlyn-0007PB-Lw for ged-emacs-devel@m.gmane.org; Thu, 30 Oct 2014 05:25:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjlyK-0006VE-5k for emacs-devel@gnu.org; Thu, 30 Oct 2014 05:24:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjlyF-0003Jh-2D for emacs-devel@gnu.org; Thu, 30 Oct 2014 05:24:48 -0400 Original-Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]:33196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjlyE-0003J9-Ru for emacs-devel@gnu.org; Thu, 30 Oct 2014 05:24:43 -0400 Original-Received: by mail-lb0-f182.google.com with SMTP id f15so4260428lbj.41 for ; Thu, 30 Oct 2014 02:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=oQHVQ5fi4X8u6VyEpS6TlZaQmmuJdPggJy2JM0COc/A=; b=ZmZiJaLC+DVt5yMn3jzzef1RXOlA0h8fme5SgW42zgvgSX8s59NbEpJ4EsWsHHQSgV k8cE7nDLo1Jnaq1mblS05C79uWIK9LFsYvtrC5FcQ6PvZhGXvRIX5Ty87+v35sy0jNI+ +KYOo03QUUWfDYUbkYbql7nZS86h7yOMF0iuLYM6DVaUOcqE9o5LiozD4KgKPTvyaASQ b+WNquau2VeamGmiv/bov9bkMGzS7YtMSt/kuVp9TFkL/gO73kcDYLLjSJMxTYMIOuze Y4P2cwiDmQ0Pp2vWI7iN1Xvi1IA6dO7Li+48Q3U42XsB9EilaMBg3Fj3ITj6rE+fnJ5t UJVw== X-Received: by 10.112.142.200 with SMTP id ry8mr17631884lbb.26.1414661080963; Thu, 30 Oct 2014 02:24:40 -0700 (PDT) Original-Received: from blueberry (31-211-216-84.customers.ownit.se. [31.211.216.84]) by mx.google.com with ESMTPSA id k16sm2984063laa.10.2014.10.30.02.24.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Oct 2014 02:24:40 -0700 (PDT) User-agent: mu4e 0.9.9.6pre3; emacs 24.3.1 In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176060 Archived-At: Stefan Monnier writes: >> I think that using cl-lib only to filter a list shows that something is >> missing from the language. To me it is also weird to use prefixed >> functions for basic features like "cl-remove-if" and "cl-reduce". > > The real problem indeed is one of naming and coherence. > It would be nice to group all list functions under the "list-" prefix, > for example. Then another question arises, where to start and stop? I would hate having "list-car" for instance, and "mapcar" can take any sequence. Nico -- Nicolas Petton http://nicolas-petton.fr