Register a new namespace in the environment.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Return true if n is the name of a namespace in env.
Equations
- env.isNamespace n = Lean.SMap.contains (Lean.namespacesExt✝.getState env) n
Instances For
Returns an iterator over all namespaces in env.
Equations
- env.getNamespaces = Std.Iter.map (fun (x : Lean.Name × Lean.Environment.Visibility) => x.fst) (Lean.SMap.iter (Lean.namespacesExt✝.getState env))