[plt-scheme] modules 4 newbies

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Oct 16 17:47:47 EDT 2008

On Oct 16, Raoul Duke wrote:
> ja, the issue is that i want to write some code which uses the gui
> library, but then all that is wrapped up in my own module. i want my
> module to use other standard modules.

The advice that you were given before (and on your blog) still holds:

  #lang scheme/gui

at the beginning of source files (no (module ...) needed), use

  (require foo/bar)

to require stuff from standard modules, and use

  (require "foo/bar.ss")

to require stuff from your modules, with a path relative to the file
holding the `require'.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.