This PR upstreams the `with_weak_namespace` command from Mathlib: `with_weak_namespace <id> <cmd>` changes the current namespace to `<id>` for the duration of executing command `<cmd>`, without causing scoped things to go out of scope. This is in preparation for upstreaming the `scoped[Foo.Bar]` syntax from Mathlib, which will be useful now that we are adding `grind` annotations in scopes. |
||
|---|---|---|
| .. | ||
| Scope.lean | ||
| WithWeakNamespace.lean | ||