From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: dash.el [was: Re: Imports / inclusion of s.el into Emacs] Date: Sun, 10 May 2020 08:26:53 -0700 (PDT) Message-ID: <99a394b3-9b76-4090-9773-bfc4a745c62b@default> References: <0c88192c-3c33-46ed-95cb-b4c6928016e3@default> <87wo5mc04t.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="26092"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joost Kremers , "Alfred M. Szmidt" , Emacs developers To: Philippe Vaucher , Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 10 17:32:28 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 1jXnwK-0006gu-Lp for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 17:32:28 +0200 Original-Received: from localhost ([::1]:50252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXnwJ-00031Y-5t for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 11:32:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXnu6-00008l-MQ for emacs-devel@gnu.org; Sun, 10 May 2020 11:30:10 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:55118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXnu5-00017Y-49; Sun, 10 May 2020 11:30:10 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04AFU1Je099988; Sun, 10 May 2020 15:30:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=qzyy1j2AuLAshMpCo8yPT4ZEvNWFH81+pm32//ruWSk=; b=imZGNiEVcMh297CL5dZ68IqGys2dtclQT/Tw3S0vpLkj32m82WgH8nS1pBvhavwcjANd m8ZuTppQL+/3174Zy7cqcLgnyxG1X/16oxQZ846897pCzA5T+PlMkDonedHduC9z/8NB K6QHga4xSYa0Bqmpv9de/Kmto5sTYN3Wwb0yPKGI4t+wYG+q43jQ0nic5faIAYIi3Her /+q6Cn0PSYVf02jGKauhw6DdyVdP3jcCCXl0S5yFJGydwP6AQvculYrxuTrC3yCgOiFr fly/7rXHbFKrxaFq8YqueU8s6K7LyIlczE6AQRuyPoncpEHX8CHVhgHR391wV/8EIZeJ Eg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 30x3gm9phf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 10 May 2020 15:30:02 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04AFOMY1036644; Sun, 10 May 2020 15:26:56 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 30xbgafv07-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 10 May 2020 15:26:56 +0000 Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 04AFQsaw002271; Sun, 10 May 2020 15:26:55 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4993.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9617 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=895 spamscore=0 suspectscore=0 phishscore=0 bulkscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005100142 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9617 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=931 clxscore=1015 spamscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005100143 Received-SPF: pass client-ip=156.151.31.86; envelope-from=drew.adams@oracle.com; helo=userp2130.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/10 11:30:06 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, 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:249666 Archived-At: > The point was that until very recently (27.1) > there was no flatten function, which is > something almost every language has. ^^^^^^^^^^^^ Elisp survived for 35 years without a predefined `flatten'? And Common Lisp still doesn't have it? How come? I'd say that `flatten' is something "almost every" Lisp user learns to write early on, at least as a simple recursive function. Good exercise. I don't think it's a crying need that `flatten' be predefined. But OK, fine, getting the leaves of a tree can be useful. Sometimes you need something like that; mostly you don't. ___ Google/duck-duck: "flatten list lisp". https://stackoverflow.com/questions/10465096/flatten-nests-function-in-lisp= -need-help-understanding http://lee-mac.com/flatten.html https://coderwall.com/p/7uecya/flatten-a-multi-dimensional-list-in-lisp