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

Polymorphism #17

Open
thumphries opened this issue Nov 4, 2016 · 2 comments
Open

Polymorphism #17

thumphries opened this issue Nov 4, 2016 · 2 comments
Labels

Comments

@thumphries
Copy link
Contributor

Needs to be restricted to Hindley-Milner power or less.

Full H-M is probably the way to go.

Will always need type annotations on record projections and sum constructors, as they're naturally ambiguous. Frontend can inject them easily.

@thumphries
Copy link
Contributor Author

Moving to v2 as (afaik) this is only needed for internal simplification and hypothetical scenarios

@thumphries thumphries added the v2 label Mar 2, 2017
@thumphries thumphries removed the v1 label Mar 24, 2017
This was referenced Apr 20, 2017
@thumphries
Copy link
Contributor Author

Added Forall and explicit instance constraints in #238

Missing implicit instance handling for user-provided type signatures, need to figure out generalise in a way that doesn't break everything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant