Types in Language Design and Implementation, Date: 2010/01/23 - 2010/01/23, Location: Madrid, Spain
Proceedings of TLDI 2010: 2010 ACM SIGPLAN International Workshop on Types in Languages Design and Implementation
Author:
Keywords:
type inferencde, Haskell, type families, GADTs, Science & Technology, Technology, Computer Science, Software Engineering, Computer Science, type inference, type classes, generalized algebraic data types, INFERENCE
Abstract:
From the dawn of time, all derivatives of the classic Hindley-Milner type system have supported implicit generalization of local let-bindings. Yet, as we will show, for more sophisticated type systems implicit let-generalization imposes a disproportionate complexity burden. Moreover, it turns out that the feature is very seldom used, so we propose to eliminate it. The payoff is a substantial simplification, both of the specification of the type system, and of its implementation.