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: Sun, 22 Apr 2012 10:53:24 +0200

He, missed that one,

/Stefan

On Sun, Apr 22, 2012 at 1:14 AM, Ian Price <address@hidden> wrote:
Stefan Israelsson Tampe <address@hidden> writes:

> Hmm so it's impossible to create syntax objects of the type
>
> #'(a b c . d)
>
> A pity

Did you try it? works fine for me :)

scheme@(guile−user)> #'(a b c . d)
$6 = (#(syntax−object a ((top) #(ribcage () () ())) (hygiene guile−user)) #(syntax−object b ((top) #(ribcage () () ())) (hygiene guile−user)) #(syntax−object c ((top) #(ribcage () () ())) (hygiene guile−user)) . #(syntax−object d ((top) #(ribcage () () ())) (hygiene guile−user)))
scheme@(guile−user)>

As for #`(#,#'a #,@#'a) this looks like a complicated way of "consing" a
onto the list a. So why not just do #`(#,#'a . #,#'a) ?

--
Ian Price

"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"


reply via email to

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