[plt-scheme] Self evaluating "objects"

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Mon Jul 14 10:25:41 EDT 2008

Cristian Baboi wrote:
>
> Some more examples:
>
> (begin
> (define x 3)
> (eval 'x (scheme-report-environment 5))
> )
>
> (begin
> (define x 3)
> (eval 'x (interaction-environment))
> )
>
> both return 3 in Gambit-C, but the first gives "reference to undefined 
> identifier: x" in PLT


Your previous post does show that PLT is not comform to R6RS. But this 
one isn't. 'x is defined in interaction-environment but not 
scheme-report-environment.

Chongkai


Posted on the users mailing list.