[plt-scheme] why doesn't DrScheme allow define within define?
Which Scheme in DrScheme are you using? See Language | Choose Language
-- Matthias
On Dec 19, 2004, at 12:40 PM, wuyanbo wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Does anyone know why DrScheme doesn't allow this kind of structure.
>
> (define (main)
> (define (function)
> ..
> ..)
> (function))
>
>
> error message given by Drscheme
>
> "define: found a definition that is not at the top level"
>
> Yanbo
>