Download PDF

Types in Language Design and Implementation, Date: 2010/01/23 - 2010/01/23, Location: Madrid, Spain

Publication date: 2010-01-01
Pages: 39 - 50
ISBN: 978-1-60558-891-9
Publisher: ASSOC COMPUTING MACHINERY

Proceedings of TLDI 2010: 2010 ACM SIGPLAN International Workshop on Types in Languages Design and Implementation

Author:

Vytiniotis, Dimitrios
Peyton Jones, Simon ; Schrijvers, Tom ; Benton, Nick

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.