emacs-devel
[Top][All Lists]
Advanced

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

Generators (iterators) for Gnu Emacs


From: Michael Heerdegen
Subject: Generators (iterators) for Gnu Emacs
Date: Fri, 05 Dec 2014 00:43:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hello,

I want to contribute a package about generators to Gnu Emacs.

It is quite simple, but turned out to be surprisingly useful to have in
several situations.  It is efficient and avoids recursion - iterating
across a generator's elements results in a simple `while' loop being
executed.

Daniel Colascione suggested to me to rename the thing to "iterators.el",
since this package doesn't use continuation passing style to implement
"yield".  I guess that's reasonable.


Thanks,

Michael.


Attachment: generator.el
Description: application/emacs-lisp


reply via email to

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