Type Class Directives
Stc
Date: Jan 6
Time: 11:45
Room: CGN room C004
Abstract
http://www.cs.uu.nl/~bastiaan/papers.html#typeclassdirectives
The goal of this paper is to improve the type error messages in the
presence of Haskell 98 type classes, in particular for the non-expert
user. As a language feature, type classes are very pervasive, and
strongly influence what is reported and when, even in relatively simple
programs. We propose four type class directives, and specialized type
rules, to lend high-level support to compilers to improve the type
error messages. Both have been implemented, and can be used to easily
modify the behavior of the type inference process.