Top level vs global scope

This top-level is roughly the same as what said above, it basically means tracing up the enclosing syntax until the module.

No. Nested module is allowed, for example. They just cannot be wrapped in any other syntax within the module.

3 Likes