repl.it 方案中缺少函数?
Functions missing in repl.it Scheme?
使用repl.it中的scheme,有几个函数好像不存在,比如modulo, remainder, inc.我错过了什么吗?我需要导入一些库或任何东西吗?我知道方案有多种排列方式,但据我所知,这些是实际的基本方案功能。
撰写本文时 repl.it uses BiwaScheme v0.6.4 under the hood, which is quite incomplete (the most recent version is v0.7.0, by the way.) It does not fully implement a Revised Report for the Scheme language, because procedures such as modulo
or remainder
are a standard part of the language. According to their implementation status 页:
BiwaScheme has most features of R6RS Base library. The biggest features not implemented are errors and syntax-rules (you can use define-macro instead).
特别是算术部分被列为“尚未”符合标准。除了切换到 standard-conformant 解释器之外,您无能为力。我可以建议 Racket 吗?
使用repl.it中的scheme,有几个函数好像不存在,比如modulo, remainder, inc.我错过了什么吗?我需要导入一些库或任何东西吗?我知道方案有多种排列方式,但据我所知,这些是实际的基本方案功能。
撰写本文时 repl.it uses BiwaScheme v0.6.4 under the hood, which is quite incomplete (the most recent version is v0.7.0, by the way.) It does not fully implement a Revised Report for the Scheme language, because procedures such as modulo
or remainder
are a standard part of the language. According to their implementation status 页:
BiwaScheme has most features of R6RS Base library. The biggest features not implemented are errors and syntax-rules (you can use define-macro instead).
特别是算术部分被列为“尚未”符合标准。除了切换到 standard-conformant 解释器之外,您无能为力。我可以建议 Racket 吗?