Re: Initial comments & questions
campbell@xxxxxx 19 Mar 2004 00:59 UTC
On Thu, 18 Mar 2004 I wrote:
> - I'm not entirely sure if it's a good idea, but I have a nagging
> suspicion that macro writers may want a utility for generating
> debugging messages. It of course can't be implemented in terms of
> plain SYNTAX-RULES, but it can trivially be defined with other
> macro systems, e.g.:
>
> [...]
>
> (syntax (syntax-bind ?k ()))))))
>
> [...]
>
> `(,(rename 'syntax-bind) ,stx-k ())))))
Oops. I meant:
(syntax (syntax-bind ?k (syntax-return ())))
and
`(,(rename 'syntax-bind) ,stx-k (,(rename 'syntax-return) ()))