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 | 805 | November 3, 2024 | |
|
Proposal: An issue tracker for better error messages
|
24 | 2794 | June 13, 2021 | |
| GHC Type Inference - Too clever for its own good? | 15 | 1362 | April 6, 2024 | |
| Error message UX | 4 | 262 | August 4, 2025 | |
|
When is error messages getting improved?
|
9 | 535 | January 31, 2022 |