[plt-scheme] why does the ellipsis not work?
It was never a small language. :)
Robby
On Jan 7, 2008 12:11 PM, Jos Koot <jos.koot at telefonica.net> wrote:
> Great, that works fine.
> I did try (provide ...), but not (provide-for-syntax ...) and it's clear now
> that provide-for-syntax is required. PLT scheme no longer is a small
> language and some people regret that. I don't regret it. I understand their
> objections, but on the other hand I do like the powerful tools for the
> definition new languages. Scribble version of make/doc.txt is coming, I
> promise.
> Thanks, Jos
>
>
> ----- Original Message -----
> From: "Matthew Flatt" <mflatt at cs.utah.edu>
> To: "Jos Koot" <jos.koot at telefonica.net>
> Cc: <plt-scheme at list.cs.brown.edu>
> Sent: Monday, January 07, 2008 6:23 PM
> Subject: Re: [plt-scheme] why does the ellipsis not work?
>
>
> > At Mon, 7 Jan 2008 16:15:22 +0100, "Jos Koot" wrote:
> >> Run: interactions-window:
> >> Welcome to DrScheme, version 3.99.0.9-svn6jan2008 [3m].
> >> Language: Textual (MzScheme, includes R5RS)
> >> (p q)
> >> (p q)
> >> lazy.ss:12:3: a: bad syntax in: (a p q r)
> >> >
> >>
> >> This used to work in all earlier versions of MzScheme.
> >
> >
> > The difference is that `syntax-rules', etc. now recognize a bound `...'
> > instead of a free `...'.
> >
> > The simplest solution is to add
> >
> > (provide (for-syntax ...))
> >
> > to "lazy-language.ss".
> >
> > Matthew
> >
> >
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>