Great, thanks David, that did the trick.
And someone might want to fix the "racket --help" output, if you ask me.
Happy holidays!
On 12/17/22, David Van Horn wrote:
> You likely want to also use the -t option so that the module is required.
> Here's an example:
>
> % cat try.rkt
>
> #lang racket
You likely want to also use the -t option so that the module is required.
Here's an example:
% cat try.rkt
#lang racket
(provide main)
(define (main . args)
(displayln (cons "HELLO:" args)))
% racket -tm try.rkt there
(HELLO: there)
On Sat, Dec 17, 2022 at 11:50 AM whuk...@gmail.com
wr
racket --help says:
-m, --main
Call `main` with command-line arguments, print results
but I cannot get this to work. All I get is
main: not defined or required into the top-level environment
in all (to me) conceivable variants. Could anyone provide an actually
working example?
Please d
3 matches
Mail list logo