[plt-scheme] basic syntax problem
There were a few bugs that manifested like that in the last year or
two (in the contract library and in the libraries used by the contract
library). I believe that they are all fixed now in the latest version.
Robby
On Tue, May 6, 2008 at 7:10 AM, Prabhakar Ragde <plragde at uwaterloo.ca> wrote:
> Tim Hanson wrote:
>
>
> > I'm having unexpected syntax trouble in something that worked before, so i
> suspect i am breaking rules i'm not aware of.
> >
> > the following code:
> > (require ( lib "url.ss" "net"))
> > (define (f u)
> > (string->url u))
> >
> > compiles once (and then runs), but not twice. the second attempt to
> "start"
> > yields (cf. below):
> > compile: bad syntax; reference to top-level identifier is not allowed,
> because no #%top syntax transformer is bound in: lifted
> >
>
> We ran into this error with a similar demo intended for lecture, and I
> found it in the PLT bug database, marked as fixed. I bet it works in
> 3.99.0.23 (my example does). I don't know what the fix might be for 372.
> --PR
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>