Skip to main content

install

Function install 

Source
pub fn install(runtime: &Runtime)
Expand description

Install every built-in stdlib namespace into runtime.

Idempotent: calling it again does not re-evaluate sources (load_ns’s already-loaded guard prevents that), but it does overwrite the native fn registrations in each namespace.

Namespaces are registered as embedded sources, so each one is parsed and evaluated on its first require rather than at install time.