From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: What's missing in ELisp that makes people want to use cl-lib? Date: Thu, 16 Nov 2023 15:29:39 +0000 Message-ID: References: <320999cc-6c83-2315-0044-cc0403400af3@gutov.dev> <9ab5d2bd-a648-cae0-a4a7-ae86be10af0f@gutov.dev> <87r0kuqxbf.fsf@gmail.com> <54e115a2-fc36-3056-a030-0dbf32416ddb@gutov.dev> <43f290b0-4119-597b-c89a-0fb4c7db1665@gutov.dev> <1e7fe1ef-af7d-3222-7b9e-b569b3c97ccf@gutov.dev> <22e4cb4d-a8f3-1530-881d-b8c59c5d969b@gutov.dev> <87h6lln86l.fsf@web.de> <87pm09lo0b.fsf@web.de> 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="39937"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 16 16:27: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 1r3eHf-000AGk-Oq for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Nov 2023 16:27:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3eGg-000474-18; Thu, 16 Nov 2023 10:26:58 -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 1r3eGe-00045I-H0 for emacs-devel@gnu.org; Thu, 16 Nov 2023 10:26:56 -0500 Original-Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3eGY-0005JH-4K for emacs-devel@gnu.org; Thu, 16 Nov 2023 10:26:55 -0500 Original-Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50a6ff9881fso1384045e87.1 for ; Thu, 16 Nov 2023 07:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700148405; x=1700753205; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bxIf/2FQMZc/QwXcqukC/jZw3EuE0IrTC/AIojjFI74=; b=JjezDwTOcCKEiSjxbT3fF+j7Ir2IsH/VKxPWpPpEXpN/PrbC4AdQsKKkaPgatVCm5A T416LWFe9aouTpfclozMQAWzHedQtFs+nubmNydt8c7JoVYrGVCAdQ6ABmQx1G3ieS0K mDhdEKNlgNkf40rT0JDMvVNAuOXaRQkJ5iVRf2io8LSQyGzpKCCv7jdayrSjqMzySSfa 4jFmlxsnBK23zAa1wm+eMe84kSJNUiYsDAkfl3y3jHYPxPAKyhbt7JHMvp/XNfw9nl/i n5iH5vxooj4i1Y76cZ7/wQEhIG1BZqEJK+xon8z9Db9KxDU+NZKRm9lqrpeXvawVq4dO qfCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700148405; x=1700753205; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bxIf/2FQMZc/QwXcqukC/jZw3EuE0IrTC/AIojjFI74=; b=ssJLhwVnpaPOw2YC7GkH/yxk5kPjLkmhqyln5/f+WTiUKcc58ow/j+sZ8WUJ2Vk4M3 B66yma2zBBl8WDtgSZ8nWxdPwfzB443e7nNbafbLHQKvYxqkoe1KYguyHHdKaR/98vYP 1JFQD0XT6Llaj2azpvkEFLEEKBIdlCb5JeyqjREmlzEsjbbMBqT3+8mwDtMu585bTuvS Ea3E0OAe9mLjWyLfRghNe3NiWJ7KxojWAxTF6A8QRn6KisZluygro5xHXEykD6g3RIc8 Tq3R29gatb6wSeMs5VhC3uo68xOsGf5cMWrDE0No2PlPjAiXk7OixeegGr9mLmWTnpFK uhgw== X-Gm-Message-State: AOJu0YxOhQ/FqaKzo+V0wBW+ULYJuqrsrtq7hqez9ZE0tWCo0rba04Ng WK3r38QHQwv3eei25jQF7HZElSekdJASrnLVW6JNc91EMpQ= X-Google-Smtp-Source: AGHT+IHcGtegzUbu+1F5MvxXeGDxdEv1T8YxZXH0ru3xI9QE/HlOoCl5s7ZtwKWomUzOwilTpKRUd31Ezji2kTG9Zjs= X-Received: by 2002:ac2:4d1a:0:b0:507:9ef2:fb1c with SMTP id r26-20020ac24d1a000000b005079ef2fb1cmr11058554lfi.2.1700148405208; Thu, 16 Nov 2023 07:26:45 -0800 (PST) In-Reply-To: <87pm09lo0b.fsf@web.de> Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x12c.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:312806 Archived-At: On Thu, Nov 16, 2023 at 3:24=E2=80=AFPM Michael Heerdegen wrote: > > Jo=C3=A3o T=C3=A1vora writes: > > >> I'm a bit lost I must admit. I don't understand the use of your > >> `sequence-p' test (all we use seq.el for are sequences...?). > > > > Yes, but custom sequences don't respond t to sequencep. > > Ok, I got confused by the hyphen you had added to the predicate name. Yeah, my bad, sorry. > If adding new methods slows down the generic functions significantly > this is something to be investigated. Maybe there is a problem, AFAIR > parts of cl-generic are relatively new. I think cl-generic is already pretty awesomely optimized. But maybe who knows?