[plt-scheme] qq
You should be careful with such games -- Scheme code tends to get
generated by other code, and then you may run into `.' in unexpected
places.
On Feb 24, Jos Koot wrote:
> Hi, I have a problem with quasiquote. Or rather, I solved the
> problem by making my own qausiquote. It probably is alright that
> `(a unquote (add1 2)) --> (a . 3) R6RS even states that in case of
> doubt unquote must be interpreted as an unquotation. I don't like
> that. I like:
> `(a unquote (add1 2)) --> (a unquote (add1 2))
> and
> `(a . (unquote (add1 2))) --> (a . 3)
> The syntax-e of PLT #lang scheme (and other languages in PLT) allow
> to discriminate between the two. I like that, although I must
> assume that most schemers and lispers are not accustumed to the idea
> that
> `(a unquote (add1 2))
> may not be the same thing as
> `(a . (unquote (add1 2)))
> Although R6RS seems to provide a comprehensive definion of
> quasiquote, I do not feel comfortable with it.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!