[racket] Nested scope in D vs Racket

From: Mark Engelberg (mark.engelberg at gmail.com)
Date: Sat Aug 21 13:50:49 EDT 2010

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.