[r6rs-discuss] #vu8 and syntax

R. Kent Dybvig dyb at cs.indiana.edu
Fri Jun 29 10:54:13 EDT 2007


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

Any bytevector qualifies as a pattern datum (any nonlist, nonvector,
nonsymbol datum) unless one takes "nonvector" as implying "nonbytevector". 
I assume you don't mean to allow, more generally, patterns or templates
like #vu(3 4 x 5 6), where x is a pattern variable, since such patterns
and templates would be rejected when the program is read.

Kent



More information about the r6rs-discuss mailing list