unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Generators (iterators) for Gnu Emacs
@ 2014-12-04 23:43 Michael Heerdegen
  2014-12-05  1:55 ` Stefan Monnier
  2014-12-05  5:47 ` Thierry Volpiatto
  0 siblings, 2 replies; 85+ messages in thread
From: Michael Heerdegen @ 2014-12-04 23:43 UTC (permalink / raw)
  To: Emacs Development; +Cc: Daniel Colascione

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

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 #2: generator.el --]
[-- Type: application/emacs-lisp, Size: 17580 bytes --]

^ permalink raw reply	[flat|nested] 85+ messages in thread
[parent not found: <<877fy77zhp.fsf@web.de>]

end of thread, other threads:[~2014-12-09 19:35 UTC | newest]

Thread overview: 85+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-04 23:43 Generators (iterators) for Gnu Emacs Michael Heerdegen
2014-12-05  1:55 ` Stefan Monnier
2014-12-05  2:42   ` Leo Liu
2014-12-05  3:23     ` Daniel Colascione
2014-12-05  3:32       ` Leo Liu
2014-12-05  4:19         ` Stefan Monnier
2014-12-05  8:52           ` Leo Liu
2014-12-05 14:40             ` Stefan Monnier
2014-12-05 14:48             ` Stefan Monnier
2014-12-05 15:34               ` Daniel Colascione
2014-12-05 18:32                 ` Stefan Monnier
2014-12-05 22:08                   ` Daniel Colascione
2014-12-06  9:38                     ` Stephen J. Turnbull
2014-12-05 22:08                   ` Daniel Colascione
2014-12-05 22:08                   ` Daniel Colascione
2014-12-05 22:08                   ` Daniel Colascione
2014-12-05 22:08                   ` Daniel Colascione
2014-12-05 22:08                   ` Daniel Colascione
2014-12-05 22:08                   ` Daniel Colascione
2014-12-05 22:08                   ` Daniel Colascione
2014-12-05 22:08                   ` Daniel Colascione
2014-12-05  9:54   ` David Kastrup
2014-12-05 14:51     ` Stefan Monnier
2014-12-05 17:12       ` Michael Heerdegen
2014-12-05 18:34         ` Stefan Monnier
2014-12-05 19:06           ` Michael Heerdegen
2014-12-06  3:53             ` Stefan Monnier
2014-12-05 18:01   ` Michael Heerdegen
2014-12-05 19:19     ` Stefan Monnier
2014-12-05 22:54       ` Michael Heerdegen
2014-12-05  5:47 ` Thierry Volpiatto
2014-12-05 14:49   ` Stefan Monnier
2014-12-05 17:20     ` Michael Heerdegen
2014-12-05 19:16       ` Stefan Monnier
2014-12-05 22:26         ` Daniel Colascione
2014-12-06  0:13           ` Michael Heerdegen
2014-12-06  0:22             ` Michael Heerdegen
2014-12-06  4:09           ` Stefan Monnier
2014-12-06  9:12             ` Daniel Colascione
2014-12-06 22:24               ` Stefan Monnier
2014-12-07  3:10                 ` Daniel Colascione
2014-12-07  6:12                   ` Stefan Monnier
2014-12-07  7:51                     ` Daniel Colascione
2014-12-07 16:22                       ` Ted Zlatanov
2014-12-07 17:40                         ` Namespace macros (was: Generators (iterators) for Gnu Emacs) Helmut Eller
2014-12-08  0:11                           ` Artur Malabarba
2014-12-08  7:55                             ` Namespace macros Helmut Eller
2014-12-08  8:36                               ` Artur Malabarba
2014-12-08  9:17                                 ` Helmut Eller
2014-12-08 11:02                                   ` Artur Malabarba
2014-12-08 11:21                                     ` Dmitry Gutov
2014-12-08 11:42                                       ` Artur Malabarba
2014-12-08 11:52                                         ` Dmitry Gutov
2014-12-08 12:52                                     ` Helmut Eller
2014-12-08 20:59                                       ` Richard Stallman
2014-12-08 23:37                                         ` Artur Malabarba
2014-12-09  0:25                                         ` Helmut Eller
2014-12-07 18:30                         ` Generators (iterators) for Gnu Emacs Drew Adams
2014-12-08  0:25                         ` Richard Stallman
2014-12-08  1:21                           ` Daniel Colascione
2014-12-08  5:34                             ` Drew Adams
2014-12-08 20:59                               ` Richard Stallman
2014-12-08 21:48                                 ` Stefan Monnier
2014-12-09 19:35                                   ` namespaces Ivan Shmakov
2014-12-08 20:59                             ` Generators (iterators) for Gnu Emacs Richard Stallman
     [not found]                         ` <<E1Xxm91-0000jQ-Mr@fencepost.gnu.org>
     [not found]                           ` <<5484FD09.60603@dancol.org>
     [not found]                             ` <<9ae6762d-a52a-4a06-b2e9-dab893a22d38@default>
     [not found]                               ` <<E1Xy5Os-0004cU-HF@fencepost.gnu.org>
2014-12-08 21:17                                 ` Drew Adams
2014-12-07 16:51                       ` Stefan Monnier
2014-12-07 17:29                         ` Nic Ferrier
2014-12-07 21:17                           ` Stefan Monnier
2014-12-07 21:26                             ` Nic Ferrier
2014-12-07 21:32                             ` Daniel Colascione
2014-12-07 21:43                               ` Drew Adams
2014-12-07 23:31                               ` Stefan Monnier
2014-12-07 23:39                                 ` Daniel Colascione
2014-12-08  2:23                                   ` Stefan Monnier
2014-12-08  2:24                                     ` Daniel Colascione
2014-12-08  3:23                                       ` Stefan Monnier
2014-12-08 10:01                                         ` Thien-Thi Nguyen
2014-12-08 20:35                                         ` David Engster
2014-12-08 21:45                                           ` Stefan Monnier
2014-12-08  0:18                                 ` Dmitry Gutov
2014-12-08  2:25                                   ` Stefan Monnier
2014-12-08  2:55                                     ` Dmitry Gutov
2014-12-07  8:54                 ` David Kastrup
2014-12-07  9:25                   ` Stephen J. Turnbull
     [not found] <<877fy77zhp.fsf@web.de>

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).