We propose a programming model where effects are treated in a disciplined way, and where the potential side-effects of a function are apparent in its type signature. The type and effect of expres-sions can also be inferred automatically, and we describe a polymorphic type inference system based on Hindley-Milner style inference. A novel feature is that we support polymorphic effects through row-polymorphism using duplicate labels. Moreover, we show that our effects are not just syntactic labels but have a deep semantic connection to the program. For example, if an expression can be typed without an exn effect, then it will never throw an unhandled exception. Similar to Haskell’s runST we show how we can safely encapsulate stateful operation...
Type information has many applications; it can e.g. be used in optimized compilation, termination a...
Type inference for structural polymorphism ---i.e. record and variant polymorphism--- has been an ac...
AbstractThe type and effect discipline is a new framework for reconstructing the principal type and ...
Type-and-effect systems are a well-studied approach for reasoning about the computational behavior o...
Type inference is a key component of modern statically typed programming languages. It allows progra...
The type and effect discipline is a new framework for reconstructing the principal type and the mini...
Abstract. Type-and-effect systems are a well-studied approach for rea-soning about the computational...
Type-and-effect systems are a powerful tool for program construction and verification. We describe i...
Many computer programs have the property that they work correctly on a variety of types of input; s...
Type-and-effect systems are a powerful tool for program construction and verification. We describe i...
Many functions have to be written over and over again for different datatypes, either because dataty...
The ML programming language restricts type polymorphism to occur only in the "let-in" construct and ...
AbstractThe Hindley/Milner discipline for polymorphic type inference in functional programming langu...
Type systems usually characterize the shape of values but not their free variables. However, many de...
Abstract. Type inference in the context of polymorphic recursion is notoriously difficult. The exten...
Type information has many applications; it can e.g. be used in optimized compilation, termination a...
Type inference for structural polymorphism ---i.e. record and variant polymorphism--- has been an ac...
AbstractThe type and effect discipline is a new framework for reconstructing the principal type and ...
Type-and-effect systems are a well-studied approach for reasoning about the computational behavior o...
Type inference is a key component of modern statically typed programming languages. It allows progra...
The type and effect discipline is a new framework for reconstructing the principal type and the mini...
Abstract. Type-and-effect systems are a well-studied approach for rea-soning about the computational...
Type-and-effect systems are a powerful tool for program construction and verification. We describe i...
Many computer programs have the property that they work correctly on a variety of types of input; s...
Type-and-effect systems are a powerful tool for program construction and verification. We describe i...
Many functions have to be written over and over again for different datatypes, either because dataty...
The ML programming language restricts type polymorphism to occur only in the "let-in" construct and ...
AbstractThe Hindley/Milner discipline for polymorphic type inference in functional programming langu...
Type systems usually characterize the shape of values but not their free variables. However, many de...
Abstract. Type inference in the context of polymorphic recursion is notoriously difficult. The exten...
Type information has many applications; it can e.g. be used in optimized compilation, termination a...
Type inference for structural polymorphism ---i.e. record and variant polymorphism--- has been an ac...
AbstractThe type and effect discipline is a new framework for reconstructing the principal type and ...