unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to specialize seq-concatenate and seq-into-sequence?
@ 2022-03-03 15:50 Philipp Stephani
  2022-03-03 17:40 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 12+ messages in thread
From: Philipp Stephani @ 2022-03-03 15:50 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-03-04 23:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-03 15:50 How to specialize seq-concatenate and seq-into-sequence? Philipp Stephani
2022-03-03 17:40 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-03-03 20:49   ` Philipp Stephani
2022-03-04  0:20     ` Stefan Monnier
2022-03-04  0:48       ` Philipp Stephani
2022-03-04  2:35         ` Michael Heerdegen
2022-03-04 14:31           ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-03-04 22:12             ` Michael Heerdegen
2022-03-04 23:02               ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-03-04 20:56           ` Philipp Stephani
2022-03-04 21:54             ` Michael Heerdegen
2022-03-04 13:31         ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).