I'm working through SICP. Currently, in the first chapter, I'm having problems getting Racket to let me redefine "primitives". For instance, I was under the impression that I should be able to arbitrarily do (define + 5)
and that would be fine, or redefine the sqrt
procedure. Instead, I get this:
define-values: cannot change constant variable: +
I have the language currently set to R5RS, which I was under the impression would take care of the compatibility issues with SICP.