首页 > 解决方案 > 这个错误在 Scheme 编程中意味着什么?

问题描述

这个#integer-zero 是什么?为什么我会收到这个错误?

(define (rw i)
  (+ (cube (car i)) (cube (cdr i))))
>(rw (list 2 3))

The object (2), passed as the first argument to integer-zero?, is not the correct type.

标签: debuggingschememit-scheme

解决方案


推荐阅读