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 opt-in HM type checker #152

Open
tekknolagi opened this issue Jun 14, 2024 · 0 comments
Open

Add opt-in HM type checker #152

tekknolagi opened this issue Jun 14, 2024 · 0 comments
Assignees

Comments

@tekknolagi
Copy link
Owner

tekknolagi commented Jun 14, 2024

Make a "linter" type inferencer based on Damas Hindley Milner, probably. It will be a little interesting to support lists, records, spreading, etc -- I think we may have some row polymorphism extensions.

We will probably want to use union-find, not the substitution lists (unless we want to do verbose error messages (which would require better line numbers anyway)).

We also have open/polymorphic variants, which is an additional challenge.

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