[plt-scheme] puzzled by 'new' failure
On Aug 26, 2009, at 11:06 AM, Eli Barzilay wrote:
> On Aug 26, David Richards wrote:
>> On Aug 26, 2009, at 12:27 AM, Jay McCarthy wrote:
>>
>>> What language are you writing it in? scheme/gui?
>>>
>>> #lang scheme/gui
>>
>> I admit I haven't used PLT Scheme in a while, but what is this
>> "#lang scheme/gui" line about? Is it some sort of 'pragma'? Do we
>> have pragma now? This is new and exciting.
>>
>> Whatever the case, it might compress progress, because it causes a
>> new error:
>>
>> read: #lang expressions not currently enabled
>
> You're probably using some language like Pretty Big -- if this is the
> case, then you should switch to the Module language.
>
> The `#lang' line is not a pragma -- it is a kind of a declaration that
> determines the language that the file is written in. It is similar in
> nature to the <lang> in
>
> (module my-module <lang>
> ...code...)
>
> except that it can also control the syntax of the code.
I see. So instead of 'shebang' (#!) we now have 'shelang' (#lang).
Neat.
- d
>
> --
> ((lambda (x) (x x)) (lambda (x) (x x))) Eli
> Barzilay:
> http://barzilay.org/ Maze is
> Life!