[racket-dev] Huh?
6 hours ago, Jens Axel Søgaard wrote:
> In DrRacket 6.0.0.1 open
>
> pkgs/draw-pkgs/draw-lib/racket/draw/private/record-dc.rkt
>
> and then click Run.
>
> I see:
>
> define-values: assignment disallowed;
> cannot re-define a constant
> constant: get-recorded-command1.1
>
> Why?
That's not new -- usually when you run the code you get a clean
environment with the old instantiation gone, but some core files are
shared across runs, so it's like trying to redefine things that are
already defined. Many files in racket/* will do the same. To debug
this kind of stuff it can be helpful to work on a copy of the file
that you want to edit, and rename it back over the original (and
recompile) when it's working.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!