[Top][All Lists]

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

Re: lexical mumblings

From: Gerd Moellmann
Subject: Re: lexical mumblings
Date: 19 Oct 2001 10:34:34 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

Miles Bader <address@hidden> writes:


> Of course, the byte-compiler would know that lambda expressions only
> used by `well-behaved' functions like mapcar can't escape, and so
> can use the stack-allocated variable-frame.

Just a nit

(defvar g)
(defun f (x) (mapcar (setq g (lambda (e) x)) '(1 2)))
(f 2)
(funcall g 1) => ?

reply via email to

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