We present a simple and powerful type inference method for dynamically typed languages where no type information is supplied by the user. Type inference is reduced to the problem of solvability of a system of type inclusion con-straints over a type language that includes function types, constructor types, union, intersection, and recursive types, and conditional types. Conditional types enable us to ana-lyze control ow using type inference, thus facilitating com-putation of accurate types. We demonstrate the power and practicality of the method with examples and performance results from an implementation.
We study the type inference problem for a system with type classes as in the functional programming ...
Dynamically typed languages lack information about the types of variables in the source code. Develo...
How Good is Local Type Inference? A partial type inference technique should come with a simple and p...
We present a type inference system for FL based on an operational, rather than a denotational, formu...
Although dynamically typed languages allow developers to be more productive in writing source code, ...
International Workshop on Smalltalk TechnologiesInternational audienceDynamically typed languages pr...
Soft typing is an approach to type checking for dynamically typed languages. Like a static type chec...
This work was also published as a Rice University thesis/dissertation: http://hdl.handle.net/1911/16...
We show how type inference for object oriented programming languages with state can be performed wit...
We propose a novel type inference algorithm for a dependently-typed functional language. The novel f...
Dynamic typing is a program analysis targeted at removing runtime tagging and untagging operations i...
As a partial solution to the problem of combining static and dynamic typing in a language with param...
We present a general algorithm for solving systems of inclusion constraints over type expressions. T...
Static and dynamic type systems have well-known strengths and weaknesses. Gradual typing provides th...
AbstractAs a partial solution to the problem of combining static and dynamic typing in a language wi...
We study the type inference problem for a system with type classes as in the functional programming ...
Dynamically typed languages lack information about the types of variables in the source code. Develo...
How Good is Local Type Inference? A partial type inference technique should come with a simple and p...
We present a type inference system for FL based on an operational, rather than a denotational, formu...
Although dynamically typed languages allow developers to be more productive in writing source code, ...
International Workshop on Smalltalk TechnologiesInternational audienceDynamically typed languages pr...
Soft typing is an approach to type checking for dynamically typed languages. Like a static type chec...
This work was also published as a Rice University thesis/dissertation: http://hdl.handle.net/1911/16...
We show how type inference for object oriented programming languages with state can be performed wit...
We propose a novel type inference algorithm for a dependently-typed functional language. The novel f...
Dynamic typing is a program analysis targeted at removing runtime tagging and untagging operations i...
As a partial solution to the problem of combining static and dynamic typing in a language with param...
We present a general algorithm for solving systems of inclusion constraints over type expressions. T...
Static and dynamic type systems have well-known strengths and weaknesses. Gradual typing provides th...
AbstractAs a partial solution to the problem of combining static and dynamic typing in a language wi...
We study the type inference problem for a system with type classes as in the functional programming ...
Dynamically typed languages lack information about the types of variables in the source code. Develo...
How Good is Local Type Inference? A partial type inference technique should come with a simple and p...