From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: What's missing in ELisp that makes people want to use cl-lib? Date: Sat, 11 Nov 2023 16:25:21 +0200 Message-ID: <835y28weni.fsf@gnu.org> References: <871qd8sfdx.fsf@posteo.net> <838r7g8pys.fsf@gnu.org> <87bkcbrgnr.fsf@posteo.net> <25924.21015.19614.951576@orion.rgrjr.com> <87bkc4jpja.fsf@dataswamp.org> <12da6bcb-1818-7fbe-12af-8d4607724332@gutov.dev> <87il6bt4z0.fsf@yahoo.com> <8734xetjkk.fsf@yahoo.com> <87cywhsrcf.fsf@yahoo.com> <87cywgx1z0.fsf@web.de> <83wmuowwp3.fsf@gnu.org> <83cywgwg3z.fsf@gnu.org> <838r74wfdl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9812"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 11 15:25:59 2023 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 1r1ovu-0002I0-UC for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Nov 2023 15:25:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1ovU-0004OV-Jv; Sat, 11 Nov 2023 09:25:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1ovT-0004NG-8M for emacs-devel@gnu.org; Sat, 11 Nov 2023 09:25:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1ovS-0008FB-DS; Sat, 11 Nov 2023 09:25:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=bKLsynHWpEgSSB0S7HXawZDkB3DC8hip3S445tTPxD8=; b=sdSQW7lfJmh5fp4LIXn7 rOjaD6sRCRbgER9+I1cI8a68wC8etgF0T9724aCBhdc0qUGuHzVEvOHiDbldYcgnm0NdR7J3N1rrz TB82JmZUvCFs4V+LzWcHJ7iinyCsl49Qn7Eb7oXoa/p+IP+e+UVtYbul7FMcVw4OMTfGCbCBoBnGd J/kVhgcW1C5DadNLkbcDHlpHUItHQyQyBNbnVknFNtkCns8gepHv+LgUTBNpysqow1plvJ54D08Dd JhC+58AfL1yyLj+7nEs5eqBvB9OrfkkD7+ghcfOgePOCIgyWOAK6zu336L1SEd14ZfA4lCPbNoLrs 3WbkmmlVv2BzUQ==; In-Reply-To: (message from =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= on Sat, 11 Nov 2023 14:22:19 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312578 Archived-At: > From: João Távora > Date: Sat, 11 Nov 2023 14:22:19 +0000 > Cc: Michael Heerdegen , emacs-devel > > I included seq.el because I see nothing wrong with adding > cl-defmethods to seq.el with more efficient implementations for > specific types of sequences. Whether it does or doesn't make sense > depends on the specifics, which are not on the table at this time. I > certainly don't agree with rejecting the idea of adding specific > implementations to seq.el, let alone its wholesale rejection, > > I don't reject it either. I just wrote that seq.el can not be "viewed as a drop-in replacement", which in > common programming talk means we have to look at each "similar implemention" case by case and > be attentive to where we use each, or to how we recommend its usage. No one said that seq.el is a "drop-in replacement" for anything. We prefer it to be used where that makes sense, because seq.el is preloaded.