@book{da82728b07fd4e8cb7a75fdbc39be040,
title = "Heuristics for type error discovery and recovery",
abstract = "The problem of type correctness of a functional program can be formulated as a constraint satisfaction problem. Detecting that the set of constraints is inconsistent is not enough: to improve programming efficiency, finding the constraints that are most likely to be responsible for the inconsistency is crucial. Being able to indicate how the source program should be changed to resolve the inconsistency is yet another step forward. First, a collection of constraints is represented as a type graph. Then we propose heuristics that work on the type graph data structure, each of which may suggest reasons for inconsistencies by selecting a constraint. Some of the more domain specific heuristics can even show how the program may be corrected, by considering local reformulation of the constraint satisfaction problem.",
author = "Jurriaan Hage and Bastiaan Heeren",
year = "2005",
language = "English",
series = "Technical Report Series",
publisher = "Department of Information and Computing Sciences, Utrecht University",
number = "UU-CS-2005-029",
}