[racket-dev] [plt] Push #22828: master branch updated
15 minutes ago, stamourv at racket-lang.org wrote:
> 7e9dbde Vincent St-Amour <stamourv at racket-lang.org> 2011-06-17 14:03
> :
> | Add more scribble forms that evaluate code and display the results.
> :
> M collects/scribble/eval.rkt | 33 +++++++++++++++++++++++++++
> M collects/scribblings/scribble/eval.scrbl | 15 ++++++++++++
I don't know why more of these are needed (they seem to be growing
exponentially), but this:
> +(define-syntax racketblock+interaction
> + (syntax-rules ()
> + [(_ #:eval ev name e ...)
> + (let ([eva ev])
> + (#%expression
> + (begin (interaction #:eval eva e) ...
> + (racketblock name e ...))))]
> + [(_ name e ...)
> + (racketblock+interaction #:eval (make-base-eval) name e ...)]))
is breaking exactly what I committed yesterday -- if there's a bad
sandbox, the error will start with "interaction:".
Also, I'm not sure whether it's realted, but the `name' input seems
very broken.
(The same two points for the other two additions.)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!