Skip to main content

register

Function register 

Source
pub fn register(globals: &Arc<GlobalEnv>)
Expand description

Register all built-in stdlib namespaces into globals.

This is idempotent: calling it again does not re-evaluate sources (already-loaded guard in load_ns prevents that), but it will overwrite native fn registrations in the namespace tables. In practice, call it once right after standard_env_minimal().