[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: general lazy list facility for Emacs Lisp?
From: |
Thierry Volpiatto |
Subject: |
Re: general lazy list facility for Emacs Lisp? |
Date: |
Wed, 23 Mar 2011 19:27:54 +0100 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/23.3.50 (gnu/linux) |
Ted Zlatanov <address@hidden> writes:
> On Wed, 23 Mar 2011 18:46:16 +0100 Thierry Volpiatto <address@hidden> wrote:
>
> TV> Not sure to understand what you want, but maybe have a look at some
> TV> ioccur.el functions:
> ELISP> (setq A '(a b c d))
> TV> (a b c d)
>
> ELISP> (setq it (ioccur-iter-circular A))
>
> That's useful but I was thinking more of infinite lists,
In this case ioccur-iter-circular produce infinite list.
> e.g. http://landoflisp.com/lazy.lisp (that's a CL implementation but the
> ELisp equivalent shouldn't be too bad).
Didn't look carefuly, but it seem to be the same mechanism, with
closures.
--
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- general lazy list facility for Emacs Lisp?, Ted Zlatanov, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Tassilo Horn, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Tassilo Horn, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Ted Zlatanov, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Eric Schulte, 2011/03/24
- Re: general lazy list facility for Emacs Lisp?, Ted Zlatanov, 2011/03/24
- Re: general lazy list facility for Emacs Lisp?, Eric Schulte, 2011/03/25
- Re: general lazy list facility for Emacs Lisp?, Stefan Monnier, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Jason Earl, 2011/03/23