[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] quoted vectors in syntax rules

From: Sandra Snan
Subject: Re: [Chicken-users] quoted vectors in syntax rules
Date: Fri, 02 Mar 2012 12:35:22 +0100
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Fri, 2 Mar 2012 12:29:13 +0100, Peter Bex <address@hidden> wrote:
> Try printing the result directly instead of comparing it.  In 4.5.0,
> I get this:
> #;1> (define-syntax s-test (syntax-rules () ((test) '#(a b c))))
> #;2> (s-test)
> #(a30 b31 c32)

Yes, that’s what I meant. Yeah, I’m still on 4.5.0 (I want to run the
same version on both client and server).

> The easiest solution is to upgrade.

I found two workarounds.

One was to define a variable containing the quoted vector, the other
was to use quasiquotation and call vector explicitly.

I just wanted to let you guys know but it seems to be well known.
Thanks anyway!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]