pub fn apply_prelude(source: &str) -> Cow<'_, str>Expand description
Prepend the stdlib modules a program actually uses. Returns the source
unchanged when the program references no stdlib vocabulary or opts out with
## NoPrelude (in which case the opt-out marker is stripped so it never
reaches the parser). This is the auto-import seam for both the interpreter and
the compiler.