Re: #\a octothorpe syntax vs SRFI 10
Per Bothner 02 Jan 2005 21:27 UTC
Matthias Radestock wrote:
> Good point! Arrays would not have the same status as lists and vectors
> unless the quasiquotation and syntax-rules pattern/template
> syntax&semantics were extended to deal with them.
Srfi-10-style literals would be more appealing if they integrated
well with quasi-quotation.
What I'd mean is that something like this should be well-defined:
`#,(tag datum1 ,datum2 ,@datum3)
If tag is defined using:
(define-reader-ctor tag constructor)
the this would be equivalent to:
`(,constructor datum1 ,datum2 ,@datum3)
Not sure how useful this is. Also, the use of comma
in #, might be confusing whencombined with quasi-quotation.
--
--Per Bothner
xxxxxx@bothner.com http://per.bothner.com/