[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: simple syntax expression faiilure,
From: |
Ian Price |
Subject: |
Re: simple syntax expression faiilure, |
Date: |
Sun, 22 Apr 2012 00:14:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
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"