[prev in list] [next in list] [prev in thread] [next in thread] 

List:       racket-dev
Subject:    [racket-dev] Huh?
From:       jensaxel () soegaard ! net (=?UTF-8?Q?Jens_Axel_S=C3=B8gaard?=)
Date:       2013-12-03 11:29:34
Message-ID: CABefVgz57QrmxBnEpEhhswXbYr=kVd2+5UmJDSY8gsWY8B5BDg () mail ! gmail ! com
[Download RAW message or body]

Thanks for the tip on renaming. Just what I needed.

/Jens Axel


2013/12/3 Eli Barzilay <eli at barzilay.org>:
> 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!



-- 
--
Jens Axel S?gaard


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic