Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么不显示表达式的结果?
(define a '((+ 1 5)(- 5 1))) (define (ex) (car a)) (write ex)
你没有打电话给前任,试试:
(write (ex))
如果您想要评估 (+ 1 5) 的结果,您可能需要
(define a (list (+ 1 5) (- 5 1)))