pub fn write_module<F, R>(func: F, ix: NamespaceRef) -> R where
    F: FnOnce(&mut Namespace) -> R, 
Expand description

Given a function func and a reference to a module ix, mutate MODULES[ix] with func.