我开始学习《Lisp in Small Pieces》这本书。例如,选定的球拍。但是第一章有一个代码示例(if (atom? e) 。什么是“atom?”?在哪里定义它?
Scheme 标准没有定义
atom?
(define (atom? x) (and (not (pair? x)) (not (null? x))))
第 4 页有一个简短的提及,
(atom? exp)
(not (pair? exp))