feat: Condensed interface #85

Merged
aniva merged 27 commits from serial/expr into dev 2024-08-15 22:41:59 -07:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 7b5567d784 - Show all commits

View File

@ -20,8 +20,8 @@ def isNameInternal (n: Name): Bool :=
@[export pantograph_environment_catalog]
def env_catalog (env: Environment): Array Name := env.constants.fold (init := #[]) (λ acc name _ =>
match isNameInternal name with
| true => acc.push name
| false => acc)
| false => acc.push name
| true => acc)
@[export pantograph_environment_module_of_name]
def module_of_name (env: Environment) (name: Name): Option Name := do