[racket] Dynamic scope

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Jun 22 12:40:44 EDT 2011

You probably want something like parameters.

You could make a language with dynamic scope if you really wanted it
though. You would capture variable accesses with #%top and friends. Or
you could just redefine binding/setting forms to use


2011/6/22 José Lopes <jose.lopes at ist.utl.pt>:
> Hello,
> Is it possible to declare a variable with dynamic scope?
> Or is there a way of implementing this? Possibly using macros?
> Regards,
> José
> --
> José António Branquinho de Oliveira Lopes
> 58612 - MEIC-A
> jose.lopes at ist.utl.pt
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.