Is there an equivalent in DrRacket to set-car! and set-cdr! in SICP?
Is there an equivalent in DrRacket to set-car! a开发者_开发知识库nd set-cdr! in SICP?
If you want to go through SICP with Racket, you should use Neil's package that makes it easier -- you'd get a language with set-car!
and set-cdr!
.
Yes, but you need to use mutable pairs.
精彩评论