[plt-scheme] Trying to define a module requiring swindle.ss
On May 7, Paulo Jorge de Oliveira Cantante de Matos wrote:
> (module netcheck mzscheme
> (require (lib "swindle.ss" "swindle"))
> ...
> )
>
> I get:
> module: identifier already imported (from a different source) in: define
>
> It seems there is a definition of module or something inside swindle.ss.
> How can I manage to work it out?
The swindle module is a language module. You should use it like this:
(module foo (lib "swindle.ss" "swindle")
...)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!