Back to Search
Start Over
Principal Type Inference for GHC-Style Multi-parameter Type Classes.
- Source :
- Programming Languages & Systems (9783540489375); 2006, p26-43, 18p
- Publication Year :
- 2006
-
Abstract
- We observe that the combination of multi-parameter type classes with existential types and type annotations leads to a loss of principal types and undecidability of type inference. This may be a surprising fact for users of these popular features. We conduct a concise investigation of the problem and are able to give a type inference procedure which, if successful, computes principal types under the conditions imposed by the Glasgow Haskell Compiler (GHC). Our results provide new insights on how to perform type inference for advanced type extensions. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISBNs :
- 9783540489375
- Database :
- Complementary Index
- Journal :
- Programming Languages & Systems (9783540489375)
- Publication Type :
- Book
- Accession number :
- 32908004
- Full Text :
- https://doi.org/10.1007/11924661_2