On Fri, Aug 3, 2012 at 5:06 PM, Robby Findler <[email protected]> wrote: > 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.
Well, now I feel silly. Somehow I always forget the `-t`. > > Robby > > On Fri, Aug 3, 2012 at 4:02 PM, Sam Tobin-Hochstadt <[email protected]> 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 >> [email protected] >> _________________________ >> Racket Developers list: >> http://lists.racket-lang.org/dev -- sam th [email protected] _________________________ Racket Developers list: http://lists.racket-lang.org/dev

