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

Tuple decomposition doesn't work well in the Lean backend #314

Open
sonmarcho opened this issue Aug 23, 2024 · 0 comments
Open

Tuple decomposition doesn't work well in the Lean backend #314

sonmarcho opened this issue Aug 23, 2024 · 0 comments

Comments

@sonmarcho
Copy link
Member

If we write:

let (x, y) := ...
f x y

the definition often gets desugared to something of the shape:

let __discr := ...
f __discr.1 __discr.2

This can be quite confusing.

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

No branches or pull requests

1 participant