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

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Sep 13 16:07:46 EDT 2010

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!


Posted on the dev mailing list.