[plt-scheme] module import for ssax
Quoting "Gunnar J. Arnason" <gunnarja at strik.is>:
> Found out I needed some files such as "SXML-tree-trans.scm",
> but can't 'require' them because they are not modules.
If you're using the SSAX port from http://www.neilvandyke.org/ssax-plt/ then
SXML-tree-trans.scm can easily be turned into a module.
Copy SXML-tree-trans.scm from the official/lib/ folder to the ssax collection
folder. Wrap the contents of the file with
(module sxml-tree-trans mzscheme
(require (lib "defmacro.ss"))
(require "myenv.ss")
(provide (all-defined))
... contents of SXML-tree-trans.scm ...
)
And rename it to sxml-tree-trans.ss, then
(require (lib "sxml-tree-trans.ss" "ssax"))
should provide the SRV:send-reply procedure.
I'm not familiar with any of the other ports.
HTH
David
--
dvanhorn at cs dot uvm dot edu