Module 如何向WeScheme添加模块

Module 如何向WeScheme添加模块,module,scheme,racket,wescheme,Module,Scheme,Racket,Wescheme,我目前正在开发一个程序,该程序使用图像,需要添加中提到的模块 我找出了错误的原因 I see a require of the module 2htdp/image, but I don't yet know what this module is. 我如何解决这个问题?我不知道如何让WeScheme知道什么是模块提前感谢。从错误消息中,看起来您本打算编写2htdp/image,但您却编写了htdp2/image。请注意,2的不同位置是“如何设计程序”教学包的一部分,如果需要,您应该使用Rac

我目前正在开发一个程序,该程序使用图像,需要添加中提到的模块

我找出了错误的原因

I see a require of the module 2htdp/image,
but I don't yet know what this module is.

我如何解决这个问题?我不知道如何让WeScheme知道什么是模块
提前感谢。

从错误消息中,看起来您本打算编写
2htdp/image
,但您却编写了
htdp2/image
。请注意,
2

的不同位置是“如何设计程序”教学包的一部分,如果需要,您应该使用Racket作为方案解释器。

这样它可以与Racket一起使用,而不是wescheme?wescheme不是racket的一个扩展吗?因为它们是独立的项目,wescheme被编译成JavaScript。我认为,如果不先移植一些代码库,就无法从一个模块中使用另一个模块。啊,我每天都会学到一件新东西,我该如何使用Racket作为我的方案解释。您可以下载DrRacket,网址:。这是一个桌面应用程序。之后,看到类似这样的内容:运行DrRacket。(旁白:WeScheme是我的宝贝。它目前还不支持足够的Racket来获得大多数有趣的模块,例如
2htdp/image
,但仍然可以工作。WeScheme包括我们自己实现的许多
2htdp/image
原语。)
scale
函数应该在WeScheme中作为其基础语言的一部分。
I see a require of the module 2htdp/image,
but I don't yet know what this module is.