guile-devel
[Top][All Lists]
Advanced

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

Re: simple syntax expression faiilure,


From: Stefan Israelsson Tampe
Subject: Re: simple syntax expression faiilure,
Date: Sat, 21 Apr 2012 22:52:27 +0200

Hmm so it's impossible to create syntax objects of the type

#'(a b c . d)

A pity

Ok I'll work around it.

Cheers
/Stefan


On Sat, Apr 21, 2012 at 2:04 PM, Daniel Krueger <address@hidden> wrote:
Hi,

I think the problem is #,@ is used to merge a list into the _expression_
(just like ,@) and #'a is only the syntax object of the symbol a
instead of a list. If you say #`(#,#'a #,@#'(a)) it works.

Daniel

On Thu, Apr 19, 2012 at 10:17 PM, Stefan Israelsson Tampe
<address@hidden> wrote:
> Is this a bug?
>
> scheme@(guile-user) [5]> #`(#,#'a #,@#'a)
> ERROR: Syntax error:
> unknown location: source _expression_ failed to match any pattern in form (a
> a)
>
> Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
>
> /Stefan


reply via email to

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