A copy of this work was available on the public web and has been preserved in the Wayback Machine. The capture dates from 2017; you can also visit the original URL.
The file type is application/pdf
.
Complete and decidable type inference for GADTs
2009
Proceedings of the 14th ACM SIGPLAN international conference on Functional programming - ICFP '09
GADTs have proven to be an invaluable language extension, a.o. for ensuring data invariants and program correctness. Unfortunately, they pose a tough problem for type inference: we lose the principal-type property, which is necessary for modular type inference. We present a novel and simplified type inference approach for local type assumptions from GADT pattern matches. Our approach is complete and decidable, while more liberal than previous such approaches.
doi:10.1145/1596550.1596599
dblp:conf/icfp/SchrijversJSV09
fatcat:pbnp54u5y5hlheywa6f7j4i42u