From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Gwozdziewycz Newsgroups: gmane.lisp.guile.user Subject: Re: progv in scheme Date: Thu, 15 Sep 2011 14:16:48 -0400 Message-ID: References: <20110913190704.M82579@ccrma.Stanford.EDU> <87sjnxad6m.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1316110625 2482 80.91.229.12 (15 Sep 2011 18:17:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2011 18:17:05 +0000 (UTC) Cc: Bill Schottstaedt , guile-user@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Sep 15 20:17:01 2011 Return-path: Envelope-to: guile-user@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 1R4GUf-0001oJ-35 for guile-user@m.gmane.org; Thu, 15 Sep 2011 20:17:01 +0200 Original-Received: from localhost ([::1]:38487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4GUe-0003Iy-J2 for guile-user@m.gmane.org; Thu, 15 Sep 2011 14:17:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4GUa-0003AL-GY for guile-user@gnu.org; Thu, 15 Sep 2011 14:16:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4GUW-0008Vs-3t for guile-user@gnu.org; Thu, 15 Sep 2011 14:16:56 -0400 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:62499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4GUV-0008Vo-Vn for guile-user@gnu.org; Thu, 15 Sep 2011 14:16:52 -0400 Original-Received: by eye13 with SMTP id 13so849138eye.0 for ; Thu, 15 Sep 2011 11:16:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=RZppoqXT7pYKDszuZ0v9vI1LQq8nk+lzls18TJwQuCw=; b=o9yKjwh3mcLx6oZMJyiI9lIAJZhvtvBiMBSxy5FPW0W7xgR3uJiuGY6hyiTFzUndM6 ElmZQQWM13FODK898sKaIsKR/Mt4jvijILVVm7k0AD5CrTZWOpWc3bYWgnYt/DhlXyXV tMD4pJOY5/3f8q3uOO0Oni3Kq2HdAG06oDxOw= Original-Received: by 10.68.17.9 with SMTP id k9mr2560855pbd.278.1316110608871; Thu, 15 Sep 2011 11:16:48 -0700 (PDT) Original-Received: by 10.142.144.6 with HTTP; Thu, 15 Sep 2011 11:16:48 -0700 (PDT) In-Reply-To: <87sjnxad6m.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8793 Archived-At: That's exactly what I was thinking, Kernel that is. But, I didn't wanna sound like an idiot saying, "if only we had FExprs"... On Thu, Sep 15, 2011 at 2:11 PM, Andy Wingo wrote: > On Tue 13 Sep 2011 12:09, "Bill Schottstaedt" wr= ites: > >> if lambda were applicable, this would work in both cases: >> >> (define-macro (progv vars vals . body) >> =C2=A0 `(apply (apply lambda ,vars ',body) ,vals)) > > That's fun! =C2=A0Makes me think of Kernel. =C2=A0I think you'd enjoy Ker= nel, > Bill, if you haven't seen it already. > > =C2=A0http://fexpr.blogspot.com/2011/04/fexpr.html > > Andy > -- > http://wingolog.org/ > > --=20 http://www.apgwoz.com