I am working on a Racket script (on a Linux machine) that requires a math library and number theory. My whole script at the moment is this:
Yes, it literally just requires a library.
When I try to start it, I get the error "expected module declaration": something else ".
However, when I actually run Racket in a terminal, for example:
/usr/bin/racket
and enter (require math / number theory) on the command line, it treats it as completely valid.
What's going on here?
racket
QuillAndSaber
source share