On Tue, Dec 9, 2014 at 6:02 PM, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
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".
RIght, they aren't really lists. They're some kind of data structure
wrapped around a generating function for producing elements of the
list.
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.
Judicious use of this kind of data structure can prevent, or at least
alleviate, memory blowups in some situations, sure. I haven't looked
at the Emacs version. Will have to do so over the Christmas break.
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta