cl-interpret: copy-capture closures

This commit is contained in:
2025-05-18 11:30:17 -04:00
parent d3e20e53d0
commit ccfa4c7723
3 changed files with 20 additions and 12 deletions

View File

@@ -99,6 +99,11 @@ impl Environment {
function.call(self, args)
}
/// Gets all registered globals, bound or unbound.
pub fn globals(&self) -> &HashMap<Sym, Option<ConValue>> {
&self.global
}
/// Adds builtins
///
/// # Panics