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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…