That's how it always worked, I'm pretty sure. A simple experiment seems to confirm:
/Applications/Racket\ v5.2.1/bin/racket -m ~/x.rkt main: not defined or required into the top-level environment You probably wanted racket -tm x.rkt. Robby On Fri, Aug 3, 2012 at 4:02 PM, Sam Tobin-Hochstadt <sa...@ccs.neu.edu> wrote: > This interaction seems wrong to me. Did we change the semantics of > `-m` to only use submodules? > > [samth@loki:~/tmp plt] racket > Welcome to Racket v5.3.0.17. > -> > [samth@loki:~/tmp plt] cat x.rkt > #lang racket > (provide main) > (define (main) 42) > [samth@loki:~/tmp plt] racket -m x.rkt > main: not defined or required into the top-level environment > [samth@loki:~/tmp plt] racket --main x.rkt > main: not defined or required into the top-level environment > -- > sam th > sa...@ccs.neu.edu > _________________________ > Racket Developers list: > http://lists.racket-lang.org/dev _________________________ Racket Developers list: http://lists.racket-lang.org/dev