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.
我对球拍完全陌生。我正在尝试编写简单的 for 循环,但 DrRacket 不断抛出错误“for:此函数未定义”。
(for ([i '(1 2 3)]) (display i))
即使是这个简单的代码(取自 Racket 文档)也不适合我。我需要声明一些库还是...?我已经阅读了文档,但没有发现任何关于它的提及。
任何帮助将非常感激。
(我使用的是高级学生语言)
使用球拍语言:
#lang racket (for ([i '(1 2 3)]) (display i)) Welcome to DrRacket, version 5.2.1 [3m]. Language: racket [custom]; memory limit: 128 MB. 123 >