[r6rs-discuss] #vu8 and syntax

From: John Cowan <cowan>
Date: Fri, 29 Jun 2007 10:49:09 -0400

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
Received on Fri Jun 29 2007 - 10:49:09 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC