From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noah Lavine Newsgroups: gmane.lisp.guile.devel Subject: Re: Anything better for delayed lexical evaluation than (lambda () ...)? Date: Wed, 14 Dec 2011 08:31:41 -0500 Message-ID: References: <87liqtpsl9.fsf@fencepost.gnu.org> <87d3bvfo5d.fsf@fencepost.gnu.org> <871usaicvi.fsf@netris.org> <87mxaycmlx.fsf@fencepost.gnu.org> <87wra1hcek.fsf@netris.org> <87mxaxihnw.fsf@pobox.com> <87obvclu92.fsf@fencepost.gnu.org> <87aa6wbp0w.fsf@pobox.com> <87fwgolgm5.fsf@fencepost.gnu.org> <8762hkbkwi.fsf@pobox.com> <87borclcem.fsf@fencepost.gnu.org> <87zkewa2vy.fsf@pobox.com> <87zkewjvyz.fsf@fencepost.gnu.org> <87vcpka13n.fsf@pobox.com> <87zkewnzy7.fsf@netris.org> <87r5089ui3.fsf@pobox.com> <87r508nv0o.fsf@netris.org> <87fwgondme.fsf@netris.org> <87borboalb.fsf@netris.org> <87liqf5uty.fsf@pobox.com> <87vcpjmn3c.fsf@netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1323869523 31181 80.91.229.12 (14 Dec 2011 13:32:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2011 13:32:03 +0000 (UTC) Cc: Andy Wingo , David Kastrup , guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Dec 14 14:31:59 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 1RaowA-0008L6-Pm for guile-devel@m.gmane.org; Wed, 14 Dec 2011 14:31:58 +0100 Original-Received: from localhost ([::1]:36874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaowA-0005wl-B0 for guile-devel@m.gmane.org; Wed, 14 Dec 2011 08:31:58 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Raow8-0005vs-FI for guile-devel@gnu.org; Wed, 14 Dec 2011 08:31:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Raow4-0006aB-Fd for guile-devel@gnu.org; Wed, 14 Dec 2011 08:31:56 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:62965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Raovw-0006ZF-HO; Wed, 14 Dec 2011 08:31:44 -0500 Original-Received: by iahk25 with SMTP id k25so1554503iah.0 for ; Wed, 14 Dec 2011 05:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=5hNdh29M9TVFZlsejDouY5lbnLP4H1tS/gu24zpqPKk=; b=RwjSi3atZJPPqBLtTUEokID9lKo2hF7kU7ECFcZd2XjueOJGUAlu5YUyGwHeOhcTtr ZaCfVhLjDES3IUroqTOfLzCcYV5oc4MsW1ykqK6/1oy9PFOPpnI8fLqpeIrkJAdUn7im BMNAoGr+sBAoanZkp6/GFZRJk5jcmahj9Ublk= Original-Received: by 10.50.156.129 with SMTP id we1mr24497231igb.60.1323869502292; Wed, 14 Dec 2011 05:31:42 -0800 (PST) Original-Received: by 10.42.217.6 with HTTP; Wed, 14 Dec 2011 05:31:41 -0800 (PST) In-Reply-To: <87vcpjmn3c.fsf@netris.org> X-Google-Sender-Auth: Q32Is6gOJi9tA1LnH3Ey6nz7E3M X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 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:13090 Archived-At: Perhaps this is obvious to everyone else, but it just occurred to me that (capture-local-environment) is just (call-with-current-continuation), but running in the environment of the evaluator instead of the program being evaluated. It's as though the evaluator was going to look in a tree for more code, but hit a special node and did a (call/cc). I hope other people find this interesting. Good morning, Noah