debugging - 这个错误在 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.
解决方案
推荐阅读
- c# - http 不使用 IIS 10 中的整个 URL 的 Url Rewrite 重定向到 https(包含参数的 URL)
- c# - 如何使用 RestSharp 发送带有动态属性的 JSON?
- python - 在字符串中转义 \u
- java - Android UDP Socket IOException: sendto failed: EPERM (Operation not allowed)
- typescript - 在 TypeScript 中获取函数参数名称和类型
- pdflib - PDFlib - 编辑已结束/关闭的页面
- java - 找不到主类(Maven Mojo 插件错误)
- c# - 如何将 DataSet 转换为 StringBuilder
- java - Hibernate.unproxy 有副作用吗?
- java - CustomEditText 的奇怪行为