We demonstrate the pragmatic value of the principal typing property, a property more general than ML's principal type property, by studying a type system with principal typings. The type system is based on rank 2 intersection types and is closely related to ML. Its principal typing property provides elegant support for separate compilation, including "smartest recompilation" and incremental type inference, and for accurate type error messages. Moreover, it motivates a novel rule for typing recursive definitions that can type many examples of polymorphic recursion. Type inference remains decidable; this is surprising, since type inference for ML plus polymorphic recursion is undecidable. Keywords: Polymorphic recursion, sepa...
Bidirectional typechecking, in which terms either synthesize a type or are checked against a known t...
AbstractWe describe an extension of the type inference of Standard ML that covers polymorphic recurs...
Abstract. The combination of parameter polymorphism, subtyping ex-tended to qualified and polymorphi...
to find the "best" or "most general" type (called the principal type in the case...
Abstract. The problem of typing polymorphic recursion (i.e., recursive function definitions rec {x =...
Abstract. Let S be some type system. A typing in S for a typable term M is the collection of all of ...
AbstractThe Hindley/Milner discipline for polymorphic type inference in functional programming langu...
Inferring types for polymorphic recursive function definitions (abbreviated to polymorphic recursion...
Type inference is a key component of modern statically typed programming languages. It allows progra...
Thesis (Ph. D.)--Massachusetts Institute of Technology, Dept. of Electrical Engineering and Computer...
We study the type inference problem for a system with type classes as in the functional programming ...
AbstractPrincipality of typings is the property that for each typable term, there is a typing from w...
We study the type inference problem for a system with type classes as in the functional programming ...
. Higher-order programming languages, such as ML, permit a flexible programming style by using compi...
Abstract. Type information has many applications, it can be used for optimized compilation, terminat...
Bidirectional typechecking, in which terms either synthesize a type or are checked against a known t...
AbstractWe describe an extension of the type inference of Standard ML that covers polymorphic recurs...
Abstract. The combination of parameter polymorphism, subtyping ex-tended to qualified and polymorphi...
to find the "best" or "most general" type (called the principal type in the case...
Abstract. The problem of typing polymorphic recursion (i.e., recursive function definitions rec {x =...
Abstract. Let S be some type system. A typing in S for a typable term M is the collection of all of ...
AbstractThe Hindley/Milner discipline for polymorphic type inference in functional programming langu...
Inferring types for polymorphic recursive function definitions (abbreviated to polymorphic recursion...
Type inference is a key component of modern statically typed programming languages. It allows progra...
Thesis (Ph. D.)--Massachusetts Institute of Technology, Dept. of Electrical Engineering and Computer...
We study the type inference problem for a system with type classes as in the functional programming ...
AbstractPrincipality of typings is the property that for each typable term, there is a typing from w...
We study the type inference problem for a system with type classes as in the functional programming ...
. Higher-order programming languages, such as ML, permit a flexible programming style by using compi...
Abstract. Type information has many applications, it can be used for optimized compilation, terminat...
Bidirectional typechecking, in which terms either synthesize a type or are checked against a known t...
AbstractWe describe an extension of the type inference of Standard ML that covers polymorphic recurs...
Abstract. The combination of parameter polymorphism, subtyping ex-tended to qualified and polymorphi...