Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a mk command to typecheck a declaration #282

Merged
merged 1 commit into from
Nov 7, 2024
Merged

add a mk command to typecheck a declaration #282

merged 1 commit into from
Nov 7, 2024

Conversation

arthurpaulino
Copy link
Member

No description provided.

@@ -315,8 +315,7 @@ def codeGen (leanEnv : Lean.Environment) (decl : Name) : Except String Expr :=
match CodeGenM.run ⟨leanEnv.patchUnsafeRec, .empty⟩ default (codeGenM decl) with
| .error e _ => .error e
| .ok _ s => do
let bindings := Expr.mutualize $
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expr.mutualize is no longer necessary because letrec is alredy mutually recursive in current Lurk

@mpenciak mpenciak merged commit 4770cdb into v4.12.0 Nov 7, 2024
1 check failed
@mpenciak mpenciak deleted the mk-cmd branch November 7, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants