[r6rs-discuss] #vu8 and syntax

John Cowan cowan at ccil.org
Fri Jun 29 10:49:09 EDT 2007


AndrevanTonder scripsit:

> > If (syntax #()) is allowed, shouldn't (syntax #vu8()) be as well?
> 
> +1.  Obviously yes.  Good catch!

That reminds me.  The ability for syntax-rules to pattern-match on
vectors was added between R4RS and R5RS, but I have never understood
the motivation for it.  It makes it possible to create macros that
are invoked with unquoted #(...)s in them, but why would anyone
consider that superior to simple (...)s?

-- 
Barry gules and argent of seven and six,        John Cowan
on a canton azure fifty molets of the second.   cowan at ccil.org
        --blazoning the U.S. flag               http://www.ccil.org/~cowan



More information about the r6rs-discuss mailing list