Re: [Scheme-reports] [wg2] in support of single-arity procedural syntax transformers Aaron W. Hsu (12 May 2011 22:05 UTC)

Re: [Scheme-reports] [wg2] in support of single-arity procedural syntax transformers Aaron W. Hsu 12 May 2011 22:05 UTC

On Thu, 12 May 2011 13:03:42 -0400, Alaric Snell-Pym
<alaric@snell-pym.org.uk> wrote:

> On 05/12/11 17:02, Per Bothner wrote:
>
>> This solution works pretty well in Kawa, which has good column-level
>> diagnostics.  There are some problems: You can't give a precise
>> position to a symbol in the cdr of a dotted pair - but that is a minor
>> problem since Scheme doesn't allow dotted pairs in non-quoted
>> expressions.
>
> O RLY?
>
> Is (lambda (a b c . rest) ...) not legal?

More than this, anyone can write a macro that allows dotted pairs in its
form.

	Aaron W. Hsu

--
Programming is just another word for the lost art of thinking.

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports