emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: seq.el and the complexity of Emacs Lisp.


From: João Távora
Subject: Re: seq.el and the complexity of Emacs Lisp.
Date: Fri, 10 Nov 2023 10:26:40 +0000

On Fri, Nov 10, 2023 at 10:13 AM Michael Heerdegen
<michael_heerdegen@web.de> wrote:
>
> João Távora <joaotavora@gmail.com> 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ão



reply via email to

[Prev in Thread] Current Thread [Next in Thread]