我尝试运行一个先前使用guile运行的策略方案脚本。我注意到gambit失败是因为它缺少“格式”功能。
格式不是方案的一部分吗?
(format #t "example(~a)=<~a>\n" i (example i))
相反,我将我的游戏脚本修改为以下代码。
(display (string-append "example(" (number->string i) ")=<" (number->string (example i)) ">\n"))
这里我漏掉了什么?谢谢。
https://stackoverflow.com/questions/47544414
复制相似问题