1. What have the authors contributed in "Diagnosing haskell type errors" ?
The authors show that even with highly expressive type system implemented by the Glasgow Haskell Compiler ( GHC ) —including type classes, GADTs, and type families—it is possible to identify the most likely source of the type error, rather than the first source that the inference engine trips over.. To determine which are the likely error sources, the authors apply a simple Bayesian model to a graph representation of the typing constraints ; the satisfiability or unsatisfiability of paths within the graph provides evidence for or against possible explanations.. Using a large corpus of Haskell programs, the authors show that this error localization technique is practical and significantly improves accuracy over the state of the art.
read more





