htmlabstractRefining types of numerical data with units of measurement has the potential to increase safety of programming languages but is restricted to homogeneous units when checked statically with parametric polymorphism. We lift units to vectors and show how type inference of linear algebra expressions can statically determine safety for data with heterogeneous units. The typing is based on the dyadic product of units that is found in linear transformations and the corresponding vector spaces. Since it is a refinement of Kennedy’s types for units we automatically obtain a unification algorithm, which gives principal types for linear algebra. The extension of unit-unification to numerical data with heterogeneous units makes the...
to find the "best" or "most general" type (called the principal type in the case...
We present NumLin, a functional programming language whose type system is designed to enforce the sa...
Type unification takes type inference a step further by allowing non-local flow of information. By e...
copies of part or all of this work for personal or classroom use is granted without fee provided tha...
We extend the ML language by allowing a sorted regular equational theory on types for which unificat...
Unification is the core of type inference algorithms for modern functional programming languages, li...
. Scientists and engineers must ensure that physical equations are dimensionally consistent, but exi...
International audienceWe study the type checking and type inference problems for intuitionistic line...
We describe a new method for polymorphic type inference for the dy-namically typed language Scheme. ...
AbstractThe Hindley/Milner discipline for polymorphic type inference in functional programming langu...
International audienceWe describe a type system for the linear-algebraic λ-calculus. The type system...
We study the type inference problem for a system with type classes as in the functional programming ...
One of the disadvantages of statically typed languages is the pro-gramming overhead caused by writin...
Type systems can be used for tracking dimensional consistency of numerical computations: we present ...
Type inference is a key component of modern statically typed programming languages. It allows progra...
to find the "best" or "most general" type (called the principal type in the case...
We present NumLin, a functional programming language whose type system is designed to enforce the sa...
Type unification takes type inference a step further by allowing non-local flow of information. By e...
copies of part or all of this work for personal or classroom use is granted without fee provided tha...
We extend the ML language by allowing a sorted regular equational theory on types for which unificat...
Unification is the core of type inference algorithms for modern functional programming languages, li...
. Scientists and engineers must ensure that physical equations are dimensionally consistent, but exi...
International audienceWe study the type checking and type inference problems for intuitionistic line...
We describe a new method for polymorphic type inference for the dy-namically typed language Scheme. ...
AbstractThe Hindley/Milner discipline for polymorphic type inference in functional programming langu...
International audienceWe describe a type system for the linear-algebraic λ-calculus. The type system...
We study the type inference problem for a system with type classes as in the functional programming ...
One of the disadvantages of statically typed languages is the pro-gramming overhead caused by writin...
Type systems can be used for tracking dimensional consistency of numerical computations: we present ...
Type inference is a key component of modern statically typed programming languages. It allows progra...
to find the "best" or "most general" type (called the principal type in the case...
We present NumLin, a functional programming language whose type system is designed to enforce the sa...
Type unification takes type inference a step further by allowing non-local flow of information. By e...