Jerry James writes:
On Mon, Dec 8, 2014 at 12:04 PM, Stephen J. Turnbull
<stephen(a)xemacs.org> wrote:
> Johann 'Myrkraverk' Oskarsson writes:
>
> > Is there any built-in support for streams of lisp objects?
>
> Not as far as I know, certainly if you want processing "as if a list"
> (eg, using car and cdr) you need a real list, not a "stream" (whatever
> that might be).
They are lazily computed lists, and no, we don't have any support for
them at present.
But are they really lists? car, nth, listp, plist-get, loop, ... work
on them? "stream" sounds like what Python calls "iterable", i.e.,
basically it supports "pop".
I guess Emacs is just about to add iterators and generators. But they
seem to be very limited, although "unexpectedly useful" according to
one proponent.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta