Compiler error messages considered unhelpful: The landscape of text-based programming error message research

BA Becker, P Denny, R Pettit, D Bouchard… - Proceedings of the …, 2019 - dl.acm.org
Diagnostic messages generated by compilers and interpreters such as syntax error
messages have been researched for over half of a century. Unfortunately, these messages …

Learning to blame: localizing novice type errors with data-driven diagnosis

EL Seidel, H Sibghat, K Chaudhuri, W Weimer… - Proceedings of the …, 2017 - dl.acm.org
Localizing type errors is challenging in languages with global type inference, as the type
checker must make assumptions about what the programmer intended to do. We introduce …

Guarded impredicative polymorphism

A Serrano, J Hage, D Vytiniotis… - Proceedings of the 39th …, 2018 - dl.acm.org
The design space for type systems that support impredicative instantiation is extremely
complicated. One needs to strike a balance between expressiveness, simplicity for both the …

Dynamic witnesses for static type errors (or, ill-typed programs usually go wrong)

EL Seidel, R Jhala, W Weimer - Proceedings of the 21st ACM SIGPLAN …, 2016 - dl.acm.org
Static type errors are a common stumbling block for newcomers to typed functional
languages. We present a dynamic approach to explaining type errors by generating …

Encoding dcc in haskell

M Algehed, A Russo - Proceedings of the 2017 Workshop on …, 2017 - dl.acm.org
The seminal work on the Dependency Core Calculus (DCC) shows how monads not only
can be used for embedding effects in purely functional languages but also to statically track …

Inferring type rules for syntactic sugar

J Pombrio, S Krishnamurthi - ACM SIGPLAN Notices, 2018 - dl.acm.org
Type systems and syntactic sugar are both valuable to programmers, but sometimes at odds.
While sugar is a valuable mechanism for implementing realistic languages, the expansion …

A compiler architecture for domain-specific type error diagnosis

A Serrano, J Hage - Open Computer Science, 2019 - degruyter.com
Abstract Domain-specific languages (DSLs) permeate current programming practices. An
important kind of DSLs includes those developed and integrated within a host language …

Type Error Customization in GHC: Controlling expression-level type errors by type-level programming

A Serrano, J Hage - Proceedings of the 29th Symposium on the …, 2017 - dl.acm.org
Embedded domain specific languages (DSLs) are a common pattern in the functional
programming world, providing very high-level abstractions to programmer. Unfortunately …

Solved and open problems in type error diagnosis?

J Hage - CEUR Workshop Proceedings, 2020 - researchportal.hw.ac.uk
Solved and open problems in type error diagnosis? Page 1 Heriot-Watt University Research
Gateway Solved and open problems in type error diagnosis? Citation for published version …

Well-typed music does not sound wrong (experience report)

D Szamozvancev, MB Gale - Proceedings of the 10th ACM SIGPLAN …, 2017 - dl.acm.org
Music description and generation are popular use cases for Haskell, ranging from live
coding libraries to automatic harmonisation systems. Some approaches use probabilistic …