From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs] Date: Mon, 11 May 2020 18:48:01 +0100 Message-ID: <877dxibbxq.fsf@russet.org.uk> References: <0c88192c-3c33-46ed-95cb-b4c6928016e3@default> <87wo5mc04t.fsf@fastmail.fm> <99a394b3-9b76-4090-9773-bfc4a745c62b@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="23869"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (gnu/linux) Cc: joostkremers@fastmail.fm, rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org To: ams@gnu.org (Alfred M. Szmidt) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 11 19:49:02 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYCY1-00065l-9z for ged-emacs-devel@m.gmane-mx.org; Mon, 11 May 2020 19:49:01 +0200 Original-Received: from localhost ([::1]:55022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYCY0-00023K-8Y for ged-emacs-devel@m.gmane-mx.org; Mon, 11 May 2020 13:49:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYCXB-0001SW-0n for emacs-devel@gnu.org; Mon, 11 May 2020 13:48:09 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:44488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYCX7-0006Sn-TQ; Mon, 11 May 2020 13:48:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Uymzd0ayFoLKoEHXrY0gW/seamMgoXCWmxq75eLcztI=; b=V5OchUTF7UB/1wx0xizSonyh9 iJiAPiMNIMe1DFN74YRSzZgBnbZJcyYfCfrZV0TVCJ0X+KkK8326aeCdpaBrt16p7KHcsDPEDDsY2 y4/TAi3Hmm3t5MP2mRtmJ8gleDO/c8ikcAjchtsbpzYeXptonAi3rkSWRGPNU27gyxCQ4uzsfYZG+ ue3Lj46QaTmDxFaD3h5CGI5RqRm77OM1jKM4yl9MJCSkOD1A9cvTBR5MLRuC+9vQhhbXjEhZJ8Klo ccCmmE/lJbxVbav0NO1bK/Its9pfrmYhYmCW9EpM63eV6uKAkJtoPsssPuZk/R1VcXa+RuK2Pre0U whKTDoTMg==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:33878 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jYCX4-0002eQ-P8; Mon, 11 May 2020 18:48:02 +0100 In-Reply-To: (Alfred M. Szmidt's message of "Sun, 10 May 2020 14:37:37 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/11 12:19:44 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249842 Archived-At: ams@gnu.org (Alfred M. Szmidt) writes: > How often do you flatten lists? In 30 years of programming, I've never > come across the situation where I needed to do so be it in Lisp, or > any other functional language. flatten is a trivial, mostly useless > function, when it comes to Lisp in my experience. Why ask, when you can find out? There are about 350 usages of -flatten in MELPA, by grepping for "(-flatten". Of these around 50 are in dash itself, the rest elsewhere. So people do use -flatten but not that frequently; that is the way with this kind of library. Most of the functions do not get used that often, but it is often that many of them get used. Phil