Search includes scope, tweak to code formatting

This commit is contained in:
2024-11-06 20:53:44 -08:00
parent de5f9379d9
commit 375c16f4fd
5 changed files with 84 additions and 19 deletions

View File

@@ -320,7 +320,7 @@ parameters (ctx: Context)
Just v => Just v
Nothing => Nothing
export
unifyCatch : FC -> Context -> Val -> Val -> M ()
unifyCatch fc ctx ty' ty = do
res <- catchError (unify ctx ctx.lvl Normal ty' ty) $ \(E x str) => do