I’m reading the docs, and I get that module
is for definitions. I want to make sure I understood:
- Can you also have expressions on RHS of assignment? like
x=2+3
andy=x-2
? - No loops or other statements ? Because this Modules · The Julia Language says “… executing all of the statements in a module often involves compiling a large amount of code.”
- What else can you have in a module, aside from definitions of variables and functions? macros?
- Module is not for top-down execution like a script, right?
Thanks in advance!