From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Akop Pogosian Newsgroups: gmane.lisp.guile.user Subject: Re: define-macro syntax error Date: Tue, 12 Feb 2013 04:00:39 -0600 Message-ID: References: <87liatsz3b.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1360663258 17709 80.91.229.3 (12 Feb 2013 10:00:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2013 10:00:58 +0000 (UTC) Cc: guile-user@gnu.org To: Daniel Hartwig Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Feb 12 11:01:17 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5Cfr-0004yv-1s for guile-user@m.gmane.org; Tue, 12 Feb 2013 11:01:15 +0100 Original-Received: from localhost ([::1]:54927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5CfW-0001GN-Pf for guile-user@m.gmane.org; Tue, 12 Feb 2013 05:00:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5CfL-0001G5-9l for guile-user@gnu.org; Tue, 12 Feb 2013 05:00:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5CfI-0000jf-KI for guile-user@gnu.org; Tue, 12 Feb 2013 05:00:43 -0500 Original-Received: from mail-ea0-f172.google.com ([209.85.215.172]:40806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5CfI-0000jZ-Dz for guile-user@gnu.org; Tue, 12 Feb 2013 05:00:40 -0500 Original-Received: by mail-ea0-f172.google.com with SMTP id f13so70370eaa.17 for ; Tue, 12 Feb 2013 02:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=5QGEJ5FvZihyvA/7dGgrKQNIxQ3IVEM1bufcDBbcAw4=; b=dWaamny8CtP39vmTVUUbeTCa5Zn5p5DCe/hKYE/9lBdWewtIr+N9F7933emNym3hWp IuBEgXtJ1AkivZfD+4TQm27gYarF4es4MknqO5Vp+c7Fr747F8X+D0pGLVvgPRS/JaFT uJIFMT08yMpWkuw2HYEURwN/TIj0XGDumgqZx5WFCwQFOobsuus+e7jnpedUBGX+7JMy VhqfXtUGqKaOmQS31PT6U1LxCwCRPFtd/tZVHkfq3mZXZ4CnkoOG8TW74PHFw5EgTOny pSRMYaD7fT1KfWNTLJH0RH+I26StlG4+k16WAT0ym70TwPZ/LGKYDD8Hf6jS8JlQR2gt 82DQ== X-Received: by 10.14.5.12 with SMTP id 12mr60341823eek.36.1360663239440; Tue, 12 Feb 2013 02:00:39 -0800 (PST) Original-Received: by 10.14.2.68 with HTTP; Tue, 12 Feb 2013 02:00:39 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.172 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:10084 Archived-At: On Tue, Feb 12, 2013 at 3:26 AM, Daniel Hartwig wrote: > On 12 February 2013 16:42, Andy Wingo wrote: >> On Tue 12 Feb 2013 09:15, Akop Pogosian writes: >> >>> (define-macro when >>> (lambda (test . branch) >>> `(if ,test >>> (begin ,@branch)))) >>> >>> will give an error: >> >> This is a bug. I just fixed it in stable-2.0; thanks for the report. > > Curious. Is that some syntax from an older version, or =85? > I was testing examples from "Teach Yourself Scheme in Fixnum Days". This is the format it uses. -Akop