Report on a User Test and Extension of a Type Debugger for Novice Programmers

Yuki Ishii
(Ochanomizu University, Tokyo, Japan)
Kenichi Asai
(Ochanomizu University, Tokyo, Japan)

A type debugger interactively detects the expressions that cause type errors. It asks users whether they intend the types of identifiers to be those that the compiler inferred. However, it seems that novice programmers often get in trouble when they think about how to fix type errors by reading the messages given by the type debugger. In this paper, we analyze the user tests of a type debugger and report problems of the current type debugger. We then extend the type debugger to address these problems. Specifically, we introduce expression-specific error messages and language levels. Finally, we show type errors that we think are difficult to explain to novice programmers. The subjects of the user tests were 40 novice students belonging to the department of information science at Ochanomizu University.

In James Caldwell, Philip Hölzenspies and Peter Achten: Proceedings 3rd International Workshop on Trends in Functional Programming in Education (TFPIE 2014), Soesterberg, The Netherlands, 25th May 2014, Electronic Proceedings in Theoretical Computer Science 170, pp. 1–18.
Published: 12th December 2014.

ArXived at: https://dx.doi.org/10.4204/EPTCS.170.1 bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org