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: Imports / inclusion of s.el into Emacs Date: Sat, 2 May 2020 09:49:49 -0700 (PDT) Message-ID: <1b25d272-8bb8-47ed-92aa-f95224f69c50@default> References: <831ro2tqqx.fsf@gnu.org> <4a1fd3f4-df92-c756-9874-4d07b54148ac@yandex.ru> <3bd09dca-dcdc-7569-e5fb-f6b53397af9d@yandex.ru> <83bln6s5on.fsf@gnu.org> 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="96357"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= , Dmitry Gutov , Richard Stallman , Stefan Monnier , Emacs developers To: Philippe Vaucher , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 18:50:44 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 1jUvLf-000Oxo-Fn for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 18:50:43 +0200 Original-Received: from localhost ([::1]:50880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUvLe-0005En-Gv for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 12:50:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUvKv-0004MP-Q8 for emacs-devel@gnu.org; Sat, 02 May 2020 12:49:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUvKv-0008H2-7A for emacs-devel@gnu.org; Sat, 02 May 2020 12:49:57 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:40426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUvKt-0008GX-NN; Sat, 02 May 2020 12:49:55 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 042Gn35M125646; Sat, 2 May 2020 16:49:52 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=XnrUnCshD1IhyQ2UnlMr0qc0Ew6/lQpDpshO5D8Lgm8=; b=V8MCnun+YAOF72EfLpEZxv1hL0MmU8PHXEZPsD2H4SCBkJlm2uUG9l4KdQ6+xAb53g4r mcNN3Kpylvwmhn6/T3QLDurXkOV9OSdPSYNjDJJBFrS1nAHETsPze3LST4FS4mtrhnrU OcSGQOLOxt9apYYez6cfCtMeGKdPqhjRe6VnIOF3Ov07WEIAILIdzkIQbKSUA+hqKnlD wMZMITsCX/q2Kb1aEPrkbFP3B7QFETCF3mTKxTOTbN1Zc7TFZnvyrZAszPBd/ZSmjUY9 apYWEhuRTBg7yu6GDl18LQBTspU4s1jQZKzzvpGdzno28+wluDxL3Gax7XSqVAe9EqAq RQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 30s0tm1fef-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 02 May 2020 16:49:52 +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 042Gl52L019558; Sat, 2 May 2020 16:49:52 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 30s913b5e1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 02 May 2020 16:49:52 +0000 Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 042GnomI031220; Sat, 2 May 2020 16:49:50 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=9609 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 mlxscore=0 bulkscore=0 suspectscore=18 malwarescore=0 mlxlogscore=825 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005020148 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9609 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 suspectscore=18 phishscore=0 clxscore=1011 bulkscore=0 mlxlogscore=860 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005020148 Received-SPF: pass client-ip=141.146.126.78; envelope-from=drew.adams@oracle.com; helo=aserp2120.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 12:49:53 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Received-From: 141.146.126.78 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:248495 Archived-At: >> But concat is not only about strings.=C2=A0 Will >> we have 3 different aliases?=C2=A0 And what about the >> case where each argument is of a different type? Exactly. > I think "seq-concat-to-string" is a better choice here. > We can remove the "to-string". > > That or "seq-join" with a default separator to "" ? A character is not a sequence. `concat' is not about concatenating sequences to return a string. `append' is about concatenating sequences to return a list sequence. Oops. Except that it's not. Although it always returns a list, in the general sense, it's not always a sequence (a true list): (append '(x y) [z]) =3D> (x y . [z]) The devil is in the details. Lisp is in many ways an ad hoc language. Some things are ugly. Some things are elegant. Some things are ugly AND elegant. Complicated - and simple.