We present a new way to generate type-error messages in a poly-morphic, implicitly, and strongly typed language (specifically Caml). Our method separates error-message generation from type-checking by taking a fundamentally new approach: we present to programmers small term-level modifications that cause an ill-typed program to become well-typed. This approach aims to improve feedback to programmers with no change to the underlying type-checker nor the compilation of well-typed programs. We have added a prototype implementation of our approach to the Objective Caml system by intercepting type-checker error mes-sages and using the type-checker on candidate changes to see if they succeed. This novel front-end architecture naturally decom-pose...
Nowadays, many dynamic languages come with (some sort of) type inference in order to detect type er...
Type errors reported by compilers can sometimes be cryptic, or difficult to understand. In this pape...
Type error reports provide programmers with a description of type errors which exist in their code....
We present a new way to generate type-error messages in a polymorphic, implicitly, and strongly type...
International audienceCryptic type error messages are a major obstacle to learning OCaml or other ML...
Automatic type inference is a popular feature of functional programming languages. If a program cann...
Flaws in computer software are a fact of life, both in small and large-scale applications. Compile...
Dependently typed programming languages provide a powerful tool for proving code correct. However, t...
AbstractCompilers for languages with type inference algorithms produce confusing type error messages...
Dependently-typed programming languages provide a powerful tool for establishing code correctness. H...
Abstract. Previous methods have generally identified the location of a type error as a particular pr...
Domain-specific languages (DSLs) are a widely used technique in the programming world, since they ma...
Producing precise and helpful error messages for type inference is\ud still a challenge for implemen...
Although type systems do detect type errors in programs, they often produce uninformative error mes...
The effectiveness of a type-checking tool strongly depends on the accuracy of the positional informa...
Nowadays, many dynamic languages come with (some sort of) type inference in order to detect type er...
Type errors reported by compilers can sometimes be cryptic, or difficult to understand. In this pape...
Type error reports provide programmers with a description of type errors which exist in their code....
We present a new way to generate type-error messages in a polymorphic, implicitly, and strongly type...
International audienceCryptic type error messages are a major obstacle to learning OCaml or other ML...
Automatic type inference is a popular feature of functional programming languages. If a program cann...
Flaws in computer software are a fact of life, both in small and large-scale applications. Compile...
Dependently typed programming languages provide a powerful tool for proving code correct. However, t...
AbstractCompilers for languages with type inference algorithms produce confusing type error messages...
Dependently-typed programming languages provide a powerful tool for establishing code correctness. H...
Abstract. Previous methods have generally identified the location of a type error as a particular pr...
Domain-specific languages (DSLs) are a widely used technique in the programming world, since they ma...
Producing precise and helpful error messages for type inference is\ud still a challenge for implemen...
Although type systems do detect type errors in programs, they often produce uninformative error mes...
The effectiveness of a type-checking tool strongly depends on the accuracy of the positional informa...
Nowadays, many dynamic languages come with (some sort of) type inference in order to detect type er...
Type errors reported by compilers can sometimes be cryptic, or difficult to understand. In this pape...
Type error reports provide programmers with a description of type errors which exist in their code....