zv / SICP-guile

SICP in Guile & Emacs Lisp
681 stars 49 forks source link

Racket: Allow redefinition #3

Closed soegaard closed 7 years ago

soegaard commented 7 years ago

Hi,

In DrRacket it is easy to enable redefinitions in the repl. In the menu "Language" choose the menu item "Choose Language...". Click the button "Show Details". Remove the tick in "Enforce constant definitions".

After running the program it is now possible to use define in the repl.

/Jens Axel

zv commented 7 years ago

Thank you for this tip @soegaard

I had no idea!

Unfortunately, the issue is primarily for function's and redefining still throws an error, even with the tick you described or (compile-enforce-module-constants #f)