unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: emacs-devel@gnu.org
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: master f6b5db6: Add support for generators
Date: Sat, 21 Mar 2015 06:52:20 +0100	[thread overview]
Message-ID: <871tkidhij.fsf@web.de> (raw)
In-Reply-To: <874mq0z504.fsf@web.de> (Michael Heerdegen's message of "Thu, 05 Mar 2015 01:01:47 +0100")

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

Michael Heerdegen <michael_heerdegen@web.de> writes:

> I would now also like to work on including my higher-level functions if
> there are no objections.

Ok, this is how the thing now looks like:

    https://github.com/michael-heerdegen/iterators.el

the file is also attached.

This is now a library of higher level stuff for the iterator objects
created by Daniel's generators that were previously included into Emacs.

What I had been named "cache" in the last version - that was a dynamic
cache for the elements returned by an iterator implemented as a delayed
list based on delayed conses - has been reimplemented and is now named
"ilist" - IteratorLIST.

These are delayed lists as well, but built from normal conses, that
(can) reference an iterator to produce "more elements" on request.  I
chose this approach because I think it suits much better the nature of
Emacs Lisp.

You can convert from/to lists and iterators, and some functions to work
with ilists are included as well.

Dunno yet how useful this stuff is, at least I need it personally.

We could put this to Gnu Elpa if Emacs Dev is interested; else, I'll put
it on Melpa.


Thanks,

Michael.



[-- Attachment #2: iterators.el --]
[-- Type: application/emacs-lisp, Size: 13827 bytes --]

  reply	other threads:[~2015-03-21  5:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150302234252.19883.48595@vcs.savannah.gnu.org>
     [not found] ` <E1YSZzA-0005BJ-Li@vcs.savannah.gnu.org>
2015-03-03 18:05   ` [Emacs-diffs] master f6b5db6: Add support for generators Stefan Monnier
2015-03-03 18:20     ` Daniel Colascione
2015-03-03 19:35       ` Stefan Monnier
2015-03-03 21:03         ` Daniel Colascione
2015-03-03 21:06           ` Daniel Colascione
2015-03-04  4:52             ` Stefan Monnier
2015-03-04  5:34               ` Daniel Colascione
2015-03-04 23:02                 ` Stefan Monnier
2015-03-04 23:05                   ` Daniel Colascione
2015-03-05  1:06                     ` Stefan Monnier
2015-03-04  4:51           ` Stefan Monnier
2015-03-03 19:51     ` Artur Malabarba
2015-03-05  0:01   ` Michael Heerdegen
2015-03-21  5:52     ` Michael Heerdegen [this message]
2015-03-21 13:19       ` Stefan Monnier
2015-03-25 13:09         ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871tkidhij.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).