We wrote a paper a while ago on localizing the source of type errors (https://dl.acm.org/doi/10.1145/3622812) and also conducted a user study. Most of the type error literature uses OCaml examples of faulty programs, but they can be easily adapted to Haskell since they only use the common Hindley-Milner subset. For example, the authors of https://dl.acm.org/doi/10.1145/3138818 shared their dataset of examples that we also used in our paper. But one of the best starting points is the great survey article https://dl.acm.org/doi/10.1145/3344429.3372508 which contains almost 220 references!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Debugging Haskell Type Errors | 11 | 764 | November 3, 2024 | |
Proposal: An issue tracker for better error messages
|
24 | 2683 | June 13, 2021 | |
GHC Type Inference - Too clever for its own good? | 15 | 1279 | April 6, 2024 | |
When is error messages getting improved?
|
9 | 451 | January 31, 2022 | |
Feedback requested about breakage: type variable binders in datatypes
|
20 | 1914 | March 30, 2022 |