Typeview: A Tool for Understanding Type Errors

Simon, A. and Chitil, Olaf and Huch, F. (2000) Typeview: A Tool for Understanding Type Errors. In: Draft Proceedings of the 12th International Workshop on Implementation of Functional Languages. (Full text available)

PDF
Download (90kB)
[img]
Preview

Abstract

In modern statically typed functional languages, type inference is used to determine the type of each function automatically. Whenever this fails, the compiler emits an error message that is often very complex. Sometimes the expression mentioned in the type error message is not the one that is wrong. We therefore implement an interactive tool that allows programmers to browse through the source code of their program and query the types of each expression. If a variable cannot be typed, we would like to present a set of possible types from which the user can decide which is wrong. This should help finding the origin of type errors without detailed knowledge of type inference on the user side.

Item Type: Conference or workshop item (Paper)
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Faculties > Science Technology and Medical Studies > School of Computing > Theoretical Computing Group
Depositing User: Mark Wheadon
Date Deposited: 12 Sep 2009 18:46
Last Modified: 31 Jul 2012 08:02
Resource URI: http://kar.kent.ac.uk/id/eprint/21959 (The current URI for this page, for reference purposes)
  • Depositors only (login required):

Downloads

Downloads per month over past year