Re: [racket] Dynamic scope

2011-06-23 Thread Raoul Duke
On Thu, Jun 23, 2011 at 3:04 PM, Eli Barzilay wrote: >> You probably want something like parameters. > (What people *probably* want is something like CL, where you can > declare a specific variable as special -- and then when you use it in > a `let' or as a function argument, that binding is done

Re: [racket] Dynamic scope

2011-06-23 Thread Eli Barzilay
Yesterday, Jay McCarthy wrote: > 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 > parameters/globa

Re: [racket] Dynamic scope

2011-06-22 Thread John Clements
On Jun 22, 2011, at 9:40 AM, Jay McCarthy wrote: > You probably want something like parameters. +1 John Clements smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/lis

Re: [racket] Dynamic scope

2011-06-22 Thread Jay McCarthy
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 parameters/globals+fluid-let. Jay 2011/6/22 José Lopes : >

[racket] Dynamic scope

2011-06-22 Thread José Lopes
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.lo...@ist.utl.pt _ For list-related adm