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: seq.el and the complexity of Emacs Lisp. Date: Fri, 10 Nov 2023 10:26:40 +0000 Message-ID: References: <2879d846-b711-ada0-cdc4-9adcb4e56040@gmail.com> <877cmp3oi2.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="36281"; 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 Fri Nov 10 11:28:00 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 1r1Ok4-0009DX-2b for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Nov 2023 11:28:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1Oj5-0007di-DL; Fri, 10 Nov 2023 05:26:59 -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 1r1Oj3-0007c2-HN for emacs-devel@gnu.org; Fri, 10 Nov 2023 05:26:57 -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 1r1Oj1-0000X2-Sm for emacs-devel@gnu.org; Fri, 10 Nov 2023 05:26:57 -0500 Original-Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-507973f3b65so2572779e87.3 for ; Fri, 10 Nov 2023 02:26:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699612012; x=1700216812; 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=KhiF8CNA1YeoYwBBqYip8krpPn3UMEsF4N+DgD3XEwg=; b=idaGF2mbRgvJ3rNFLW4v2qLln1NO8mAvKfZrp80AKjIdo61c98uBFjzlUT+XTCklLb WLJwy72SJGKQwokqOo5sZQYAmddEfSy9tufJtIIUtc6QJhN99PTQr4LQWUNPOeRhNH7r erEll435pwSVSG91ul/8oBfMZUqb2zOQc0aX52W6wqLynmLYAxxSRuSqNirfLrwK/ViU Z+dClIlwORshtpxyhvOY6OdjQ0GDHZCD+aonwfW1drnRR3BgDIw4YyXEzZ7kBVqh26/r zQrHl9nskJD1c3fqs8tc3qUGl6x63JM0ERBFY+Kln+yB9twQu3Tfo6gVzZXtRQQG/LYc WCJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699612012; x=1700216812; 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=KhiF8CNA1YeoYwBBqYip8krpPn3UMEsF4N+DgD3XEwg=; b=KSfJnpm0bWkzP38EINnH1Xnmm/hVaAhPQyz3EhscqfKIy49aGi8JIhJ6kobpSe/7hV W8bfTkCjBr0sa89EvbECCR1atWFfGzvsYIh+M8CZkvKUhSdtMMUxT4SiCpB3XMkp/IuH rQTaDUer2J8OSKgBtHOqzmOGU1bM6UuzTeMR50YAdY/iJoY+AoQ+DU4L3NLr/ltw0SPF AidmqWhc6SItICTrEoHN5eANSdB6rz7mmXKullaYmK3XKfRH95fYAYaXSIvo6Pvu7mob nZiR5bHw8P21V2WutapWkYoiBMuLajFveWIQ0MBh7GmAHLqjAajfve1cbJl7uE/IcO+8 KA3g== X-Gm-Message-State: AOJu0YyDQdcHPBRHR6MVdQmle9huAqcjlaWAIvUilHwjfmkYfmGNmK76 FFKHaK9oE+nZZz18e8zUm/Mz1orDZgOzIhs7xMw= X-Google-Smtp-Source: AGHT+IE3NDriAhAhN3/neHXAkOSd/eQQPrThF6La8zGYQJGCCfS0KQ+mRQJquRqEyB3SCkyIt3QNh0pVw+0RzFeEqqM= X-Received: by 2002:a05:6512:2025:b0:503:90d:e0df with SMTP id s5-20020a056512202500b00503090de0dfmr3270112lfs.34.1699612012413; Fri, 10 Nov 2023 02:26:52 -0800 (PST) In-Reply-To: <877cmp3oi2.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:312471 Archived-At: On Fri, Nov 10, 2023 at 10:13=E2=80=AFAM Michael Heerdegen wrote: > > Jo=C3=A3o T=C3=A1vora writes: > > > Sure that's what seq.el does, but I see no definition of new sequence > > types in the core. Whatever those "whatever sequence" types are, > > they have to be defined somewhere with implementations for a bunch of > > generic functions and I see none of that in the Emacs tree (again, from > > my quick greps). Examples could be an implementation of lazy sequences > > for example. > > We have lazy sequences in Gnu Elpa: stream.el. Right, and they're using seq.el in the sense I described if I'm not mistaken. Meaning if such object created by stream.el is somehow given to a library in core what uses seq-* functions, that library will do the right thing polymorphically I suppose. Jo=C3=A3o