[plt-scheme] Modules; including files

From: Michael Sperber [Mr. Preprocessor] (sperber at informatik.uni-tuebingen.de)
Date: Thu Mar 20 06:39:52 EST 2003

>>>>> "Ed" == Ed Cavazos <proteus at theworld.com> writes:

Ed>   For list-related administrative tasks:
Ed>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Ed> Every usage of the MzScheme that I've seen goes something like this:

Ed> (module foo
Ed> 	mzscheme
Ed> 	<module body>)

Ed> Where <module body> is a series of definitions, evaluations, etc. Is
Ed> it possible to say in the <module body> something like "include
Ed> definitions from file xyz.scm" where xyz.scm is a "plain old Scheme
Ed> file", i.e. does not contain a module declaration?

Yes.  Just say

(require (lib "include.ss"))
(include "<file>")

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

Posted on the users mailing list.