[racket-dev] [plt] Push #21078: master branch updated

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Sep 13 16:41:32 EDT 2010

DrRacket doesn't yet have good tool support for such things, but it
should at least look at the #lang line for indentation and probably
will do that at some point (in which case the dialog will change to be
letting you add things to what the #lang line specifies instead of
just specifying everything). But not today, I'm sorry to say.

Robby

On Mon, Sep 13, 2010 at 3:07 PM, Eli Barzilay <eli at barzilay.org> wrote:
> On Sep 13, jay at racket-lang.org wrote:
>> collects/framework/private/main.rkt
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> --- OLD/collects/framework/private/main.rkt
>> +++ NEW/collects/framework/private/main.rkt
>> @@ -208,7 +208,10 @@
>>  (let ([hash-table (make-hasheq)])
>>    (for-each (λ (x)
>>                (hash-set! hash-table x 'define))
>> -            '(struct local))
>> +            '(struct
>> +              local
>> +
>> +              define-type))
>
> Why is this needed?  Isn't the "def.*" regexp catching it?
>
>>              for-all
>> +
>> +               type-case
>
> But more importantly, why not do these things in tools, so there's no
> need to add stuff to drracket whenever a new language pops up?
>
>
> (That's how I added such forms for my course language.)
>
> --
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                    http://barzilay.org/                   Maze is Life!
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev


Posted on the dev mailing list.