[plt-scheme] MzScheme extension loading

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Jun 6 07:32:55 EDT 2006

At Tue, 6 Jun 2006 12:46:55 +0200 (CEST), Ivanyi Peter wrote:
> I have an MzScheme extension. It defines a module.
> What is the best way to incorporate (load) this module into
> other modules?

Put the extension into


where "compiled" is in the same directory as `my-module'. Then,

 (module my-module mzscheme
   (require "my-ext.scm")

should load it.

This works because the module loader will look for "my-ext.dll" in
"compiled/native/win32/i386", and if it exists, use that in place of


Posted on the users mailing list.