[plt-scheme] Apply a procedure in a module

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Oct 12 23:15:20 EDT 2009

On Oct 12, Synx wrote:
> Then when I went to say
> $ mz -n -t test-commandline.ss -- -g
> It will run both main functions, even though I don't want
> commandline:main to run at all when I invoke test-commandline.ss.

You can still use `command-line' with different flags for different
modules, or you could use the value of (find-system-path 'run-file) to
decide whether to run the function or not.

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

Posted on the users mailing list.