From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: User-reserved element in byte code vectors Date: Wed, 19 May 2004 20:31:29 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040520003129.GA9853@fencepost> References: <874qqiao9o.fsf@tc-1-100.kawasaki.gol.ne.jp> <20040515231012.GA20052@fencepost> <20040517220612.GA6421@fencepost> <20040519142851.GA17602@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085017261 15166 80.91.224.253 (20 May 2004 01:41:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 May 2004 01:41:01 +0000 (UTC) Cc: lars@nocrew.org, emacs-devel@gnu.org, Richard Stallman , Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 20 03:40:52 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQcYG-0006Lo-00 for ; Thu, 20 May 2004 03:40:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQcYG-000721-00 for ; Thu, 20 May 2004 03:40:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQcMb-0004rc-WA for emacs-devel@quimby.gnus.org; Wed, 19 May 2004 21:28:50 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQcLY-0004Z8-M1 for emacs-devel@gnu.org; Wed, 19 May 2004 21:27:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQbdV-0000U4-VN for emacs-devel@gnu.org; Wed, 19 May 2004 20:42:51 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQbTD-0005In-SZ for emacs-devel@gnu.org; Wed, 19 May 2004 20:31:36 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1BQbT7-0003JK-Kj; Wed, 19 May 2004 20:31:29 -0400 Original-To: Stefan Monnier Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23754 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23754 On Wed, May 19, 2004 at 11:19:15AM -0400, Stefan Monnier wrote: > I'd be interested to see how you use those `curry' thingies, BTW. > E.g. what does > > (let ((x 0)) > (lambda () (setq x (+ x 1)))) > > get translated into? Essentially: (let ((env (vector 0))) (curry env (lambda (env) (aset env 0 (+ (aref env 0) 1))))) [of course, `env' is not visible to the user code] -Miles -- 97% of everything is grunge