[racket] Nested scope in D vs Racket

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Sat Aug 21 15:22:25 EDT 2010

I *think* this was in the 5.0.1 release announcement?

It certainly is a mighty pity that typing "internal define" yields no
hits in Help Desk.  (Eli, are you reading?)

On Sat, Aug 21, 2010 at 1:50 PM, Mark Engelberg
<mark.engelberg at gmail.com> wrote:
> On Sat, Aug 21, 2010 at 8:39 AM, Shriram Krishnamurthi <sk at cs.brown.edu> wrote:
>> Or if you prefer the new direction we're going in:
>
>> (define (bar x)
>>  (lambda ()
>>    (define x x)
>>    x))
>
> I like the new direction.  Where are all the possible places that a
> define can go without wrapping it in a local?  How do I look up
> something like that in the Help Desk (I don't see it in the section on
> "define")?
>


Posted on the users mailing list.