Module prelude

prelude

Prelude — automatically imported into every Yo source file.

Provides core language primitives: traits (Comptime, Runtime, Clone, Eq, Ord, Hash, …), fundamental types (Option, Result, Box, Slice, Range, String, …), operator traits (Add, Sub, …), type reflection (TypeInfo), conversion (Into, From), the async runtime (Io, Future, JoinHandle), and derive rules.

Do NOT import std/prelude — it is loaded automatically and an explicit import will produce a compile error.