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: How to specialize seq-concatenate and seq-into-sequence?
Date: Thu, 3 Mar 2022 16:50:00 +0100
Message-ID:
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="1267"; mail-complaints-to="usenet@ciao.gmane.io"
To: Help Gnu Emacs mailing list
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 03 17:08:05 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 1nPnzo-00007X-HF
for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Mar 2022 17:08:04 +0100
Original-Received: from localhost ([::1]:52864 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1nPnzn-0002kT-3w
for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Mar 2022 11:08:03 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:55630)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1nPniQ-0007Bj-De
for help-gnu-emacs@gnu.org; Thu, 03 Mar 2022 10:50:06 -0500
Original-Received: from [2a00:1450:4864:20::32c] (port=52957
helo=mail-wm1-x32c.google.com)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1nPniO-0000Ov-Pp
for help-gnu-emacs@gnu.org; Thu, 03 Mar 2022 10:50:06 -0500
Original-Received: by mail-wm1-x32c.google.com with SMTP id r65so3424085wma.2
for ; Thu, 03 Mar 2022 07:50:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=from:content-transfer-encoding:mime-version:subject:message-id:date
:to; bh=hJxBl8li+brzeh1NZun8IQZSrXtVK46CU7nK+5Y+FAE=;
b=HReQd0CWNEEUhM4cF7mL2e2CNMO+esKwmjiHXntUqgPYokH1ojik9oYsLm1zpaVACP
dPbGVUZvvddmreFvMJkUbraxyQETqLP6fGIeQWe+onaVUuyZpwKmO8ll/YWZZWsHQS6s
kbnjXYiZSxZJos8gFD6P9agRL/wmt461GUyIHjoOmZkgWSrULuieKI+qJqQKNaTCvdbw
21+EMiihqZeJd8fVlsGOtr7i9qEw7+MsPVZLId9XVwWATgAdLduYElPe6ni8cH3tJOZE
IHR8myuceYquA1ZijVt927hFyQu3FgCWfepvm0niWPw/4GBzVTfpHR/1kfewyXlAJsw5
E5Ig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:from:content-transfer-encoding:mime-version
:subject:message-id:date:to;
bh=hJxBl8li+brzeh1NZun8IQZSrXtVK46CU7nK+5Y+FAE=;
b=Rf60yfkX+oPncCTqeMlh4gAydJJ5buw64efwim8X+tMGm42ie7DmrJZGYThLgezOJB
FPmP7AUO4rqwbHCLnK4I3Cyel9Y058+t7VEGDpe0QBnKhby7gt7MpdBUPGdOBreYvTOK
vF5GNpDYFEpy8xvbwCaFB74FnQoLPge7GaIvAyOelRQ+Z4KI8lUi2VOyEfJrtAuv69C3
sOM07zaWHaq7o+qydZaChZfEPeu8ZUbGU88QJAtNWBqDkrI8DG5Ca7QGJGjMHqqDSXtH
PO7d0HYRnmD5xNul2GNVqE+bv2iL1dMmLTk2r7b6GMkdGNQlBRjJX9tsAsve6qX7LmmB
3gKg==
X-Gm-Message-State: AOAM533ZbJ/9XiGqqiHvizZ5YuEzRCBiwiKMBD8mIe22hnzt+zkrB2D7
loLoQH41Kco9emOMTgZtQtie0izBUNQ=
X-Google-Smtp-Source: ABdhPJyTvReSWbfhGz4mblRRJS0Mc13/DGeGXMKf+naVsV7KnFfMSXvAnwLX4mkKKVwCN7qMALID9w==
X-Received: by 2002:a1c:f312:0:b0:387:8bf:bd3 with SMTP id
q18-20020a1cf312000000b0038708bf0bd3mr3961439wmq.112.1646322602176;
Thu, 03 Mar 2022 07:50:02 -0800 (PST)
Original-Received: from smtpclient.apple ([2a02:2455:2a4:dc00:b076:b55f:1e3f:3aa7])
by smtp.gmail.com with ESMTPSA id
g5-20020a5d5545000000b001ed9d3f521csm2372515wrw.113.2022.03.03.07.50.01
for
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Thu, 03 Mar 2022 07:50:01 -0800 (PST)
X-Mailer: Apple Mail (2.3693.60.0.1.1)
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32c
(failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::32c;
envelope-from=p.stephani2@gmail.com; helo=mail-wm1-x32c.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 10:59:40 -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:136340
Archived-At:
Hi,
I'm trying to specialize the seq.el functions for a new sequence type. =
This is mostly straight-forward, except for two functions: =
seq-concatenate and seq-into-sequence.
1. Is the idea that seq-into-sequence should return a "primitive" =
sequence (vector, list, string)? At least that's my interpretation, but =
the docstring isn't 100% clear.
2. seq-concatenate takes a &rest argument - AIUI it's not possible to =
specialize that?
Thanks,
Philipp=