~/talk

Error Message Annotation Plugins for Haskell

Talkat HIW 2023 · on Monday, 2023-09-04· [developer-experience]
links:none on file
slides:none on file

Proposes a custom-error plugin interface for GHC that detects emitted type errors and either annotates or replaces them at pretty-print time, implemented in-production inside Damlc with about 100 lines of compiler-facing code; plugins run opt-in, stackable, and can fetch blurbs, hide library internals (lens examples), or add Elm‑like hints. Claims: minimal GHC changes, full access to typechecker context during rewrite, and practical utility shown by working examples and a small implementation.

AI-written summary · about

  1. 0:00Introduction
  2. 2:08Type error message goals
  3. 5:43Existing approaches limits
  4. 10:43GHC plugin interface
  5. 12:31Plugin implementation
  6. 15:22Plugin use cases
  7. 18:52Future directions
  8. 21:25Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.