I noticed that once the environment is evaluated first, pasting and running all the tests in a row in the DrRacket interaction window works without problems. The same behaviour with or without (require (for-syntax racket/base)).
In a way, it's an inconvenience rather than an error, but it still would be nice to find a solution or atleast an explanation of what is going on. br, jukka > -----Original Message----- > From: Matthias Felleisen [mailto:matth...@ccs.neu.edu] > Sent: 10 August 2011 17:24 > To: Jukka Tuominen > Subject: Re: [racket] pretty-big->#lang (was: External connection > toFinndesign Liitin) > > > > Did you import the libraries for the proper phase? > > It sounds like you need to (require (for-syntax racket/base)) or > something like that. > > > On Aug 10, 2011, at 10:20 AM, Jukka Tuominen wrote: > > > > > Having experimenting with the code some more... > > > > I bypassed the symbolize definition temporarily like this > > > > (define (symbolize smbl) > > smbl) > > > > and received another error instead: > > > > "compile: unbound identifier (and no #%app syntax transformer > is bound) in: > > named-lambda" > > > > I tried to move named-lambda definition earlier in the lib file > (in case it > > matters), without effect. Why is it unbound? > > > > br, jukka > > > > > >> -----Original Message----- > >> From: users-boun...@racket-lang.org > >> [mailto:users-boun...@racket-lang.org]On Behalf Of Jukka Tuominen > >> Sent: 10 August 2011 17:03 > >> To: Matthias Felleisen > >> Cc: users@racket-lang.org > >> Subject: Re: [racket] pretty-big->#lang (was: External connection > >> toFinndesign Liitin) > >> > >> > >> > >> Try to spell that over the phone :) > >> > >> Almost there now. It works half ways the examples in a row, > which is even > >> weirder if possible!? > >> > >> It still signals the same error, so I assume the cause of the > problem is > >> another eval-string in the following, equally strange helper: > >> > >> (define (symbolize id-candidate) > >> (eval-string (string-append "'" (symbol->string id-candidate)))) > >> > >> The purpose of this function is to verify that the inputted > >> symbol is really > >> interpreted as a symbol. It seems that the namespace devider ':' causes > >> sometimes problems and 'symbolize' have corrected the > situation... until > >> now. It doesn't explain how it manages to get half ways, though... > >> > >> Do you have any exotic dots left for this situation :) > >> > >> br, jukka > >> > >> > >>> -----Original Message----- > >>> From: Matthias Felleisen [mailto:matth...@ccs.neu.edu] > >>> Sent: 10 August 2011 15:31 > >>> To: Jukka Tuominen > >>> Subject: Re: [racket] pretty-big->#lang (was: External connection to > >>> Finndesign Liitin) > >>> > >>> > >>> > >>> On Aug 10, 2011, at 4:00 AM, Jukka Tuominen wrote: > >>> > >>>> > >>>> Second question: Is there a better procedure doing quotify's > >> job without > >>>> causing the error? I assume that this is yet again the > >>> top-level namespace > >>>> issue caused by the 'eval-string'? > >>> > >>> > >>> Do you mean this: > >>> > >>> (define (quotify x) `',x) > >> > >> _________________________________________________ > >> For list-related administrative tasks: > >> http://lists.racket-lang.org/listinfo/users > > > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users