Dear Daniel, 
I have blindly tried and so far these two things work for me:

1.
Add this to the end of the file (maybe module* main #f...)
```
(module+ main
   (hello)
   )
```
and then "racket -t foo.rkt" prints "Hello, world!".

2. 
If you want to use "-e" (e.g. for testing) you need more bindings from
racket. You could require "racket" with -l:

$ racket -t foo.rkt -l racket -e '(hello)'

Thank you so so much Daniel,
Best,
Chi

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to