当前位置: 代码迷 >> 综合 >> sicp 习题2.17
  详细解决方案

sicp 习题2.17

热度:60   发布时间:2024-01-11 16:33:40.0
Welcome to DrRacket, version 5.3.3 [3m].
Language: planet neil/sicp; memory limit: 128 MB.
> (define a (list 1 2 3 4 5))
> (last-pair a)
(mcons 5 '())
> 


运行:

Welcome to DrRacket, version 5.3.3 [3m].
Language: planet neil/sicp; memory limit: 128 MB.
> (define a (list 1 2 3 4 5))
> (last-pair a)
(mcons 5 '())