Strange Names

cons 函数的名称并不无道理:它是“construct”一词的缩写。另一方面,carcdr 的命名起源有些深奥:car 是短语“Contents of the Address part of the Register”的首字母缩写;而 cdr(发音为“could-er”)是短语“Contents of the Decrement part of the Register”的首字母缩写。这些短语指的是原始 Lisp 开发时使用的 IBM 704 计算机。

IBM 704 在历史上留下了痕迹,但这些名字现在已经成为 Lisp 珍爱的传统。