[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: general lazy list facility for Emacs Lisp?
From: |
Eric Schulte |
Subject: |
Re: general lazy list facility for Emacs Lisp? |
Date: |
Wed, 23 Mar 2011 23:27:48 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Ted Zlatanov <address@hidden> writes:
> On Wed, 23 Mar 2011 20:10:27 +0100 Tassilo Horn <address@hidden> wrote:
>
> TH> Just a short remark on what I've had in mind with "real" memoization: If
> TH> elisp had closures (not clojures ;-)), then one could write memoize as
> TH> function
>
> I think `lexical-let' (according to the docstring at least) creates true
> CL-style closures in ELisp.
>
Just for completeness, a lazy.el file is attached implementing lazy
sequences in Emacs Lisp. This is basically an exact copy of lazy.lisp
with `lexical-let' used where closures are needed.
Best -- Eric
lazy.el
Description: application/emacs-lisp
- Re: general lazy list facility for Emacs Lisp?, (continued)
- 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?, Thierry Volpiatto, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Ted Zlatanov, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Thierry Volpiatto, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Ted Zlatanov, 2011/03/23
- Re: 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 <=
- 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
- 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?, Tassilo Horn, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Stefan Monnier, 2011/03/23
- Re: general lazy list facility for Emacs Lisp?, Tassilo Horn, 2011/03/24
- Re: general lazy list facility for Emacs Lisp?, Ted Zlatanov, 2011/03/23