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

Are we forced to check? #202

Open
HuStmpHrrr opened this issue Sep 15, 2024 · 2 comments
Open

Are we forced to check? #202

HuStmpHrrr opened this issue Sep 15, 2024 · 2 comments

Comments

@HuStmpHrrr
Copy link
Member

It appears to me that we can always infer a type. I suppose the final type is not necessary if it's not given? the inference algorithm should always infer the most precise type. Do we have a theorem stating this?

@HuStmpHrrr
Copy link
Member Author

@Ailrun
Copy link
Member

Ailrun commented Sep 16, 2024

We don't need to. I provided it there just as a testing convenience, but one can simulate that with (fun (x : A) -> x) e instead of e : A (or even with the "let binding" @Antoine-something is implementing)

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

2 participants