[plt-scheme] Should DrScheme assume Module language when #lang?

From: Jos Koot (jos.koot at telefonica.net)
Date: Tue May 26 15:41:13 EDT 2009

----- Original Message ----- 
From: "Neil Van Dyke" <neil at neilvandyke.org>
To: "Robby Findler" <robby at eecs.northwestern.edu>
Cc: "PLT-Scheme List" <plt-scheme at list.cs.brown.edu>
Sent: Tuesday, May 26, 2009 7:09 PM
Subject: Re: [plt-scheme] Should DrScheme assume Module language when #lang?

> Thanks.  I realized what else I was doing wrong:
> 1. The "#lang" needs to be at the very start of the file, not after a comment.  Which makes sense.

 My experience is different. I often have lots of comments at the top of a module without any problems DrScheme opening with 
language 'module'.

> 2. When I tested for whether the "#lang" needed to be at the start of the file, I used the Beginning Student language, which 
> secretly maintains lines at the beginning of the file that defeated my test.
> Robby Findler wrote at 05/26/2009 07:18 AM:
>> For now, DrScheme only switches the language when you open the file,
>> not when you click "Run".
> -- 
> http://www.neilvandyke.org/
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.