[plt-scheme] Literal file inclusion within a PLT module definition
Rohan-
You want to use the INCLUDE form
which is provided by MzLib's include.ss module.
use this:
(require (lib "include.ss"))
(include "area/file.scm")
-Felix
On Jul 16, 2004, at 2:43 AM, Rohan Drape wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> I have a project stored over many files that is organized
> as a load sequence. I have a script that catenates the
> load sequence and creates a PLT module file. This works but...
>
> I am wondering if there is something like a 'literal-include'
> form available so that the module file need not actually include
> the entire program text.
>
> I understand that this is not ideal and would not be recommended
> but it would useful in this situation.
>
> Thanks in advance,
> Rohan
>
> [
> Ie. instead of the catenated file there would be something like:
>
> #cs(module project base
> (literal-include "area/file.scm")
> ...
> (provide (all-defined)))
> ]
>
>
----
"with time, felix will learn to control his powers
and then, he will become a true felix." -tfisher