From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?utf-8?B?7KGw7ISx67mI?= Newsgroups: gmane.emacs.devel Subject: Re: Imports / inclusion of s.el into Emacs Date: Sun, 3 May 2020 03:40:35 +0900 Message-ID: <2152FEE0-987F-4816-9FB5-717EED2B47BE@icloud.com> References: <831ro2tqqx.fsf@gnu.org> <4a1fd3f4-df92-c756-9874-4d07b54148ac@yandex.ru> <3bd09dca-dcdc-7569-e5fb-f6b53397af9d@yandex.ru> <83bln6s5on.fsf@gnu.org> <6d43996b-65ab-0bc6-9124-156520396910@yandex.ru> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=utf-8; delsp=yes; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="37450"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org, joaotavora@gmail.com, rms@gnu.org, monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 20:41:15 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 1jUx4c-0009dX-NF for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 20:41:14 +0200 Original-Received: from localhost ([::1]:50156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUx4b-0006a8-QB for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 14:41:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUx47-00069d-Bi for emacs-devel@gnu.org; Sat, 02 May 2020 14:40:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUx46-0000yV-SL for emacs-devel@gnu.org; Sat, 02 May 2020 14:40:43 -0400 Original-Received: from pv50p00im-tydg10011801.me.com ([17.58.6.52]:44190) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUx46-0000yA-EC for emacs-devel@gnu.org; Sat, 02 May 2020 14:40:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1588444841; bh=5dtb8+yr9ckXSn3uOmGDYVEH7Oov3qaI3zmP3MQmh/g=; h=Content-Type:Subject:From:Date:Message-Id:To; b=xPxTOMCtS8z+4Sz3+t+abgUcbwtDk9Pa7hL5OG2W1L2uJOWlEdVefN+2HbvbYFmvP SjxGKE/ZowLZTG2h7mXPMwDAZOe9fP0qorqFRm9zbinr/WFhBPuqFK/DaN70rCcxAY viDlYjPlcu4etZeDUWka/umcfNSi4b2iz09G+spvDz5shOrUe9oMITUf56RVnyGcZ2 JN1dI+ug/+8RESNF6TL45C0ou28MgoUY2/QmTxfy5bx2MO3Bb86Pw5GMp3M8XMptbL RkJOVoIUkos78soe8kIVftgYRR9e3Un7lxmZeuZTFZ3P8TNQhhstPAzpJM24QSxc3T uKL59ofcofeFA== Original-Received: from [192.168.0.2] (unknown [1.230.108.64]) by pv50p00im-tydg10011801.me.com (Postfix) with ESMTPSA id 05D80660179; Sat, 2 May 2020 18:40:38 +0000 (UTC) In-Reply-To: <6d43996b-65ab-0bc6-9124-156520396910@yandex.ru> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-05-02_10:2020-05-01, 2020-05-02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=18 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=839 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2005020164 Received-SPF: pass client-ip=17.58.6.52; envelope-from=pcr910303@icloud.com; helo=pv50p00im-tydg10011801.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 14:40:41 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Received-From: 17.58.6.52 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:248535 Archived-At: Dmitry Gutov 작성: > On 02.05.2020 18:43, Eli Zaretskii wrote: >>> just having a string-concat alias could improve the situation. >> But concat is not only about strings. Will we have 3 different >> aliases? And what ab out the case where each argument is of a >> different type? > > BTW, speaking solely of concat, the return value is always a string. > > So a 'string-' prefix can make sense from that perspective anyway. IMO a type prefix mostly makes sense when * the function has a central argument(s) both with the types * constructor/factory/init functions And a type suffix makes sense when the function returns the type. So, if I would rename concat, it would be concat-to-string.