[plt-scheme] current-eval proc should receive syntax object, but doesn't
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?
--
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK