From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: summary: lilypond, lambda, and local-eval Date: Fri, 16 Dec 2011 03:08:35 -0500 Message-ID: <87hb11j5vg.fsf@netris.org> References: <87r506uodd.fsf@pobox.com> <87pqfpj7e3.fsf@netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1324023027 14595 80.91.229.12 (16 Dec 2011 08:10:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2011 08:10:27 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Dec 16 09:10:23 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RbSs3-000517-4m for guile-devel@m.gmane.org; Fri, 16 Dec 2011 09:10:23 +0100 Original-Received: from localhost ([::1]:50415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbSrz-00054x-KS for guile-devel@m.gmane.org; Fri, 16 Dec 2011 03:10:19 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbSrw-00054h-MB for guile-devel@gnu.org; Fri, 16 Dec 2011 03:10:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbSrv-0005Na-BR for guile-devel@gnu.org; Fri, 16 Dec 2011 03:10:16 -0500 Original-Received: from world.peace.net ([96.39.62.75]:37202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbSru-0005N4-I8 for guile-devel@gnu.org; Fri, 16 Dec 2011 03:10:15 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1RbSrn-0007mK-QZ; Fri, 16 Dec 2011 03:10:08 -0500 In-Reply-To: <87pqfpj7e3.fsf@netris.org> (Mark H. Weaver's message of "Fri, 16 Dec 2011 02:35:48 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13127 Archived-At: I wrote: > The would include a list of lexical variable > names ( ...), which must exactly correspond to the closure slots of > the `case-lambda', in order to implement `local-eval'. We _might_ also > need to include some information about how those variables are stored, Sorry, this paragraph should have ended here. The following unfinished caveat should have been deleted: > e.g. a flag telling whether they are boxed. (Usually they will all be > boxed, but I was thinking about an edge case where the result of (the-environment) never escapes the local block, and thus a clever optimizer might be able to avoid boxing some of the lexicals. However, I later realized that this could only happen if the returned environment was never passed to `local-eval', in which case none of this matters anyway. Mark