[plt-scheme] mzscheme -tm- ?

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Dec 13 01:06:24 EST 2007

On Dec 12, John Clements wrote:
> Naturally, I can work around this by splitting it into a top-level-
> style file that simply requires and calls the corresponding main in
> the module with the specified args,

You can use "mzscheme -ltm- scheme /tmp/foo.ss", which will use
`scheme's #%app.


> but I'm confident that one of two things is true here:
> 
> a) there's some useful way to use mzscheme -tm that I'm just not  
> aware of, or
> b) this is not the desired behavior.
> 
> I'm betting on (b), but I'd be happy to be wrong.

A solution is probably for -m to not construct a function application
using whatever #%app syntax is currently available.  (Looks like this
is coming from "src/mzscheme/cmdline.inc", the mzcmd_MAIN case
constructs a plain `(main ...)' list to evaluate.)

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


Posted on the users mailing list.