From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: What's missing in ELisp that makes, people want to use cl-lib? Date: Fri, 03 Nov 2023 16:08:09 +0100 Message-ID: References: <83a5ru7w0b.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="blaine.gmane.org:116.202.254.214"; logging-data="36508"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: paaguti@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 03 16:09:11 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 1qyvnL-0009BA-A0 for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Nov 2023 16:09:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyvmV-0000Wc-5j; Fri, 03 Nov 2023 11:08:19 -0400 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 1qyvmT-0000WS-7R for emacs-devel@gnu.org; Fri, 03 Nov 2023 11:08:17 -0400 Original-Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qyvmQ-0007Oj-QG; Fri, 03 Nov 2023 11:08:16 -0400 Original-Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2c6b48cb2b6so31001701fa.2; Fri, 03 Nov 2023 08:08:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699024091; x=1699628891; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=M3rxIQusLMI1FN/70ncQm5L6F3Yw1Ry8XbxvqFW74GA=; b=V+XvNxsDOl8rnAqB1ZwX2KDIV8yr32j1AQ1MxBKZ9Y5DFlpdXJc6lm2oY1WITDuInR aZ06zhaJwsdzT0e4ILPaldkpmy+GYaoc2bqi57fg7cBAJdBQOLmoZbswqVntYEdysRZZ fOee5UJVkYEqwQgL0nrsprcEhQzYV1EXI4x0E05YFyAGnKmKqKQSo0MDmFky10H3cp8b KMbnvS9Aqo688Omw6MS1R3KY7C8X933sLPnE3ez7zZqk5o1XrMlE7G3DrfG9azHT8YS3 XuNZZaU0xCWDFrbl8RkTwMcqhZAfd57ObojQQ5XO15+jvvbdzkAIeDOB3kenpZHDtLwD aBKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699024091; x=1699628891; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=M3rxIQusLMI1FN/70ncQm5L6F3Yw1Ry8XbxvqFW74GA=; b=wvu32aiKt41NCKDm/lcD0KVH4KVSJeKtCrsDB7D391zT7S14AigB5Ud8Lu4Zhb/KIX 3ZUTKg4q0nYTsDqK/wKEMvDAFm/p3xdsGgk4Eo1rJ+FpQ3xUMtAp0PqB7nYfagTRaUVS KVtrYEE8AQfyr8wC5eSfqrdnjsjdp8FfAJphoggV1p2XrZzkcWkgURFBVkht7AleEmfe Uf9wcVwKQv3YmdltXFwpcd7H4TYf+FcNAS7/ifGbXIxMCdTGsPbGJFKC3qX43yEmoE08 fIjojGUnKaGoyLWPoDnUXQ94chZO9vZvVKeQsRQO/bUP+Vi/fAQCjpxlsKxwNBf7yHTy +j9w== X-Gm-Message-State: AOJu0Ywv0EI0baqLh2xugvJrIawPZRDFZf58biXvrm1LUrqjt9T8chn8 Je2tX5jUJMyrQ1g3bu3P3CmqQ4iBlug= X-Google-Smtp-Source: AGHT+IHKEm9/CYVUPuIrv0DNW88RORxi+7K2qbJJwJmpMIVdTCA7nmyodHZypYRIRNKBqzjhlBh6Sw== X-Received: by 2002:a2e:a7d2:0:b0:2b9:4b2e:5420 with SMTP id x18-20020a2ea7d2000000b002b94b2e5420mr20946887ljp.52.1699024090785; Fri, 03 Nov 2023 08:08:10 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3a0aa.dip0.t-ipconnect.de. [79.227.160.170]) by smtp.gmail.com with ESMTPSA id z18-20020adfec92000000b0032da8fb0d05sm2046889wrn.110.2023.11.03.08.08.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 08:08:10 -0700 (PDT) In-Reply-To: <83a5ru7w0b.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 03 Nov 2023 16:27:00 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::235; envelope-from=gerd.moellmann@gmail.com; helo=mail-lj1-x235.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:312165 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: emacs-devel >> Date: Fri, 03 Nov 2023 14:37:14 +0100 >>=20 >> The reason I will not use seq.el or map.el in the forseeable future is >> quite simple: I haven't ever needed an abstraction over sequence types >> using generic functions, and I never have CPU cycles to give away for >> free. > > What prevents us from implementing in seq.el methods for specific > types of sequences? I won't :-). > AFAIU, the only reason we didn't is because no > one has yet came up with important situations where the generics in > seq.el are not performant enough. I don't get that line of reasoning, sorry. The Elisp manual kind of advertises its abstraction over sequence type, you kind of say it is isn't needed because it's kind of fast enough, usually. What I'm missing is a positive reason why to use it. I don't see one.