~/talk

Partial Type Constructors in Practice

Talkat Haskell Symposium 2022 · 2022-09-15..09-16· [haskell]
links:none on file
links:none on file
links:none on file
slides:none on file

Proposes making partial type constructors explicit in Haskell by encoding well-formedness as constraints (implemented via type families and data-type contexts) and adding an elaboration pass that pulls those constraints into signatures; implements the extension in GHC and bootstrapped GHC plus core libraries to test impact. Results show minimal disruption: under 10% of type signatures change overall, ~7% of compiler classes/instances and ~9.7% of library classes change, with Transformers accounting for ~86% of library edits; some APIs need redesign (Applicative vs Monoidal).

AI-written summary · about

  1. 0:00The problem of partiality
  2. 1:01Limitations of current kinding
  3. 3:40Explicit partiality predicates
  4. 6:17Integrating into type systems
  5. 8:50Implementation approaches
  6. 11:40Compiler elaboration strategy
  7. 14:31Empirical validation
  8. 17:18Applicative and future work
~/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.