Skip to main content

Modules

The video for “Modules” is in the works!

Modules help organize your code into separate files and namespaces.

Import Statements

Import a module with a dotted path; its members are then reached through the last path segment:

Try it yourself
Loading...

Using Standard Library

Try it yourself
Loading...

Creating Your Own Modules

Organize related code into separate files with the .mux extension.


Previous: References | Next: Next Steps