[plt-scheme] How get enviroment

From: Robby Findler (robby at cs.uchicago.edu)
Date: Tue Apr 17 10:02:40 EDT 2007

This code seems hopelessly broken, or perhaps designed for use in
another Scheme system.

Maybe you can tell us more about what you're doing or where you got that code?

Robby

On 4/17/07, wwall <wwall at yandex.ru> wrote:
> Hello plt-scheme,
>
>   I have code
> (define Z '((append-var moduleScope "x1")
>  (append-var globalScope (create-var "???????"))
>  (append-var moduleScope (create-var "??4"))
>  (append-var globalScope (create-var "??????1")))
> )
> (define globalScope (create-scope "Global" null))
> (let
>     ((moduleScope (create-scope "ModuleScope" globalScope)))
>      (map (lambda (x)
>      (eval x))
>      Z)
>   )
>
> but on (eval x) i have error - reference to undefined identifier:
> moduleScope
> How I can correct this mistake?
> --
> Best regards,
>  wwall                          mailto:wwall at yandex.ru
>
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.