Standard Library


Prelude

Names available in every Leaf source file without explicit import.

Interfaces

Types

Functions and Methods

I/O

The io module must be imported explicitly via use @std.io. Provides readFile, writeFile, appendFile, readBytes, and writeBytes.

Environment

The env module must be imported explicitly via use @std.env. Provides args, vars, and exit for accessing command-line arguments, environment variables, and process termination.


Topic Cross-References

Link copied to clipboard!