[R6RS] Re: syntax-case

R. Kent Dybvig dyb
Wed Oct 20 13:37:20 EDT 2004

> What's the rationale for

> (syntax (a b))

> returning a list and not an opaque syntax object?  That's something
> that always bothered me about the original SYNTAX-CASE.  (And,
> conversely, I like that PLT Scheme does return a syntax object.)

The advantage is that one can write things like

  (andmap identifier? #'(id ...))


  (map process-rhs #'(rhs ...))

rather than something more clumsy.  What is your reason for preferring
that the result be entirely opaque?


More information about the R6RS mailing list