开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜