pub const ESM_RUNTIME_PRELUDE_NAMES: &[&str];Expand description
Runtime-prelude value names that the JS/TS backends lower inline to
tagged objects ({ _tag: "Some", _0: v }, { _tag: "Less" }, …) — NOT from
a cross-module core.* import. The implicit-import pass and the
public-symbol map must never route these through a core.option /
core.compare import: the declaring module does not actually export them
(they are compiler built-ins), so a real import would be an unresolved
reference.
Ordering is intentionally absent: unlike Optional/Result, the
comparison Ordering enum is genuinely declared (and exported) by the
core.compare stdlib module, so a cross-module use of the Ordering type
resolves through a real import; only its variant values (Less/Equal/
Greater) lower inline and so stay excluded here.