[plt-scheme] current-eval proc should receive syntax object, but doesn't

From: Paulo J. Matos (pocm at soton.ac.uk)
Date: Sat Mar 3 20:10:49 EST 2007

On 3/3/07, Paulo J. Matos <pocm at soton.ac.uk> wrote:
> This is definitely wierd. Latest svn mzscheme (r5724) works ok, inside
> DrScheme it doesn't.
>
> $ mzscheme
> Welcome to MzScheme v369.8 [3m], Copyright (c) 2004-2007 PLT Scheme Inc.
> > (define myeval
>    (lambda (datum)
>      "buu"))
> > myeval
> #<procedure:myeval>
> > (current-eval (lambda (x) (myeval (syntax-object->datum x))))
> > (hello)
> "buu"
> > (duh)
> "buu"
> > (dididada)
> "buu"
>
> It works also inside DrScheme if you set up the language to be pretty
> big! :-( As soon as I get module around the myeval and current-eval
> expression, kaboom...
>
> Jos, can you please tell me how you ran the example I initially sent?
>

For the record, I just talked with TauPan @ #scheme FreeNode and he
has the same problem in Debian GNU/Linux, DrScheme 352.

> --
> Paulo Jorge Matos - pocm at soton.ac.uk
> http://www.personal.soton.ac.uk/pocm
> PhD Student @ ECS
> University of Southampton, UK
>


-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK


Posted on the users mailing list.