[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] Template pattern grammar seems broken
- To: scheme-reports@x
- Subject: Re: [Scheme-reports] Template pattern grammar seems broken
- From: "Aaron W. Hsu" <arcfide@x>
- Date: Thu, 05 May 2011 14:42:53 -0400
- In-reply-to: <BANLkTi=D-7yrpbNmUnancUM5XmOJRmeiYw@mail.gmail.com>
- Organization: Indiana University
- References: <Pine.SOC.4.64.1104241409020.1490@oow.het.brown.edu> <BANLkTi=D-7yrpbNmUnancUM5XmOJRmeiYw@mail.gmail.com>
On Mon, 25 Apr 2011 01:52:15 -0400, Alex Shinn <alexshinn@x> wrote:
> On Mon, Apr 25, 2011 at 3:17 AM, Andre van Tonder <andre@x>
> wrote:
>> The template pattern language on page 16 seems broken.
>>
>> It would allow the following template:
>>
>> (... a ...)
>
> Thanks, in some implementations this expands to (a ...),
> but I think we should restrict the escape to the one
> argument version. I'll update it to say the <pattern>s
> and <template>s which are identifiers may not be the
> <ellipsis>.
Since <template> is already everything that <element> is except without
the ellipsis, wouldn't it be easier to just change (<ellipsis> <element>)
to (<ellipsis> <template>)? I can make this change if someone can confirm
that this will fix the problem.
Aaron W. Hsu
--
Programming is just another word for the lost art of thinking.
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports