From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.help
Subject: Re: How to specialize seq-concatenate and seq-into-sequence?
Date: Fri, 4 Mar 2022 01:48:56 +0100
Message-ID: <389E16F7-14BD-492B-93EE-9D542C374628@gmail.com>
References:
<4E8CCFE1-514F-4636-A69E-B78562BBC702@gmail.com>
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\))
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="543"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Stefan Monnier via Users list for the GNU Emacs text editor
To: Stefan Monnier
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 04 03:05:45 2022
Return-path:
Envelope-to: geh-help-gnu-emacs@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 1nPxKD-000AXe-Ds
for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Mar 2022 03:05:45 +0100
Original-Received: from localhost ([::1]:55780 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1nPxKC-0002da-D5
for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Mar 2022 21:05:44 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:54470)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1nPw7x-0004iS-2j
for help-gnu-emacs@gnu.org; Thu, 03 Mar 2022 19:49:01 -0500
Original-Received: from [2a00:1450:4864:20::436] (port=38773
helo=mail-wr1-x436.google.com)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1nPw7v-0005fb-K9
for help-gnu-emacs@gnu.org; Thu, 03 Mar 2022 19:49:00 -0500
Original-Received: by mail-wr1-x436.google.com with SMTP id t11so10300205wrm.5
for ; Thu, 03 Mar 2022 16:48:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=gHUguHeAFKSd0zGGbDNqG4lV7g2HYajZ34IPXkWCkm8=;
b=iy+Gi+4cr3iQMVK5kIGBooKXkYR4RariYdA1IrUkL2sFRoqoKP+gYOzbSVxKsE8H6n
HZ1+m9D2ZyK0VxeCFx8Q4wAt95W0qn2zmNeIQ0PgLmvXBka3s64BE7zKqZjukR4GKxFk
KmWksHhNSnJ8+sl3We5CGLtFlBSK5BW3gACyV+jUwufsjgV3jf78OrLZ7x3HS4N184R2
exY2hDF4qEAw9JnBnThqlR3C/Y3wR/freizslExQkCvMajFDK2naTLNJfWFOjj7uCL8I
tUmx+/16ZcdvZp2+mdjCUBRlm8fMGCmdY4kaUuxNj2ge5pMz67ckrtFTJh56LTU311mR
KUYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=gHUguHeAFKSd0zGGbDNqG4lV7g2HYajZ34IPXkWCkm8=;
b=bN5akyFH8dERJsWBth2jlFahUbBy2zGpyGr7OIdc0mxjxBGC91zhsoLu2DcWHnXTCn
J+berutDpmoJQnHjUhvrZUJbn00E9ciGIkT/PYcgMniL/90mwH+KltB4njr0X6P3kI2R
eCltX/A67NkMqBZl7pasCARs2goDHYRwK05xck+SviVZQSLk02WyQpNMOliLqGOoHNz3
eJTSIkgg71c7uXcyl8Bo+LVYX6pC8VvGS8f/77PlffXq0tZePl7DFr+I0cWxYG66+69v
YCwMdvsH9uzIX85FxUI24O0pkedglDs9sHxt+Ul7ulAzx67yRtsrK/Yb1cCY928V2fsj
shHw==
X-Gm-Message-State: AOAM533oSDV6ZnhpirvO4x9DRDDTzNE7vCMdOeqSPiLQzwrjlxiA4ynz
3IferLgYvZmVocRxJTsWriI=
X-Google-Smtp-Source: ABdhPJz+41ToVBUwR8ALprJz1hJfsXKq5oxhvUE1TX/Eo4Sw1XgMeBIyvbFFhiwCrMcatGTc9emMWg==
X-Received: by 2002:a05:6000:15c1:b0:1f0:73d6:b716 with SMTP id
y1-20020a05600015c100b001f073d6b716mr641699wry.293.1646354937849;
Thu, 03 Mar 2022 16:48:57 -0800 (PST)
Original-Received: from smtpclient.apple ([2a02:2455:2a4:dc00:b076:b55f:1e3f:3aa7])
by smtp.gmail.com with ESMTPSA id
r187-20020a1c44c4000000b0038377fb18f8sm5001896wma.5.2022.03.03.16.48.57
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Thu, 03 Mar 2022 16:48:57 -0800 (PST)
In-Reply-To:
X-Mailer: Apple Mail (2.3693.60.0.1.1)
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::436
(failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::436;
envelope-from=p.stephani2@gmail.com; helo=mail-wr1-x436.google.com
X-Spam_score_int: -3
X-Spam_score: -0.4
X-Spam_bar: /
X-Spam_report: (-0.4 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659,
RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Mailman-Approved-At: Thu, 03 Mar 2022 21:04:48 -0500
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Users list for the GNU Emacs text editor
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "help-gnu-emacs"
Xref: news.gmane.io gmane.emacs.help:136349
Archived-At:
> Am 04.03.2022 um 01:20 schrieb Stefan Monnier =
:
>=20
>>>> 2. seq-concatenate takes a &rest argument - AIUI it's not possible =
to specialize that?
>>> I think the idea is that you'd use something like `seq-do` on each
>>> sequence.
>> But how would one go about writing the cl-defmethod for it?
>=20
> Define `it`.
> The dispatch is expected to be on the `type` argument (using an `eql` =
specializer).
>=20
Doesn't that contradict the docstring?
TYPE must be one of following symbols: vector, string or list.=