[r6rs-discuss] #vu8 and syntax

R. Kent Dybvig dyb at cs.indiana.edu
Fri Jun 29 11:57:34 EDT 2007


> > It also allows one to construct quoted vector constants, which I've done
> > from time to time.
>
> That explains having them on the RHS of a rule, but not why they would
> be useful on the LHS.
>
> Can anyone refer me to examples?

I just recalled one: the psyntax quasiquote uses a vector pattern to
identify vectors in the subform of the quasiquote.  See line 4050 of
http://www.cs.indiana.edu/chezscheme/syntax-case/psyntax.ss.

Kent



More information about the r6rs-discuss mailing list