Y
Hacker News
new
|
ask
|
show
|
jobs
by
rfw
3819 days ago
Really? Color me corrected, then :) Does the compiler need a SAT solver then to make sure all the constraints hold?
3 comments
dllthomas
3819 days ago
I'm not sure the exact approach, but there's definitely some heavy lifting. My understanding is that most (all?) dependently typed languages are essentially theorem provers at heart.
link
chenglou
3819 days ago
See my answer here:
https://news.ycombinator.com/item?id=10856736
link
pzone
3819 days ago
It should be able to use a Hindley-Milner algorithm.
link
dllthomas
3819 days ago
As I understand it, type inference breaks down on dependent types.
link