-
Notifications
You must be signed in to change notification settings - Fork 21
implicit search should more uniformally carry constraints through chained conversions/searches #4699
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
Comments
@Blaisorblade said: The more I run into problems, the more it seems that even more should be delegated to a constraint solver (see also #5298). |
@paulp said: |
@dcsobral said: Then again, I don't even know what's underneath, so I might be completely off and this comment just noise. |
@paulp said: |
@Blaisorblade said: But wasn't Hubert Plociniczak, PhD candidate, planning to use constraint solving to improve both Scala type inference and for the type debugger [1], based on research by Martin Odersky et al. on one side, and GHC hackers on the other? He also gives a number of convincing arguments on why one should use constraint systems. Among others, it's easier to explain type inference errors in terms of constraints. Of course research proposals for PhD students are not binding - my research proposal had absolutely no relevance (I'm a PhD student). A lot of disclaimers apply for me too: my knowledge of type inference goes barely beyond Pierce's TAPL book, and I've only skimmed his research proposal (too hard for me, sorry). [1] Hubert Plociniczak, 2010. Making sense out of an advanced type system. Edic research proposal. Available at |
@adriaanm said: |
--> this works for influencing the inference of type parameters by "later aspects" of the expression, but not for inferring implicit values, since these cannot be left undetermined while type checking an expression (see [#SI-4653])
the idea of generalising tracking of undetermined implicit types (type parameters)/implicit values and their constraints could drive the solution for [SI-3340], [SI-3346], [SI-2781] and [SI-3270]
The text was updated successfully, but these errors were encountered: