[plt-scheme] Trying to define a module requiring swindle.ss

From: Eli Barzilay (eli at barzilay.org)
Date: Fri May 7 09:27:11 EDT 2004

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!

Posted on the users mailing list.