~/talk

Linearly Qualified Types: Generic Inference for Capabilities and Uniqueness

Talkat ICFP 2022 · 2022-09-11..09-16
links:none on file
links:none on file
linkedin:nicolasgwu
links:none on file
slides:none on file

Adds implicit linear constraints as qualified types and implements a constraint generation and inference algorithm that extends GHCs solver, desugaring the constraints into Core linear arrows so they become ordinary Linear Haskell. Builds mutable array examples showing concrete reduction of naming boilerplate and a direct style fromList via a special Linearly constraint that supports contraction and weakening. Implements a working prototype in GHC and proves soundness by desugaring; constraint solving and desugaring succeed for the examples.

AI-written summary · about

  1. 0:00Start
  2. 0:45Linear Haskell 101
  3. 3:12Pure mutable arrays
  4. 9:22Linear Constraint
  5. 11:36Scope functions
  6. 14:11Linearly constraint
  7. 15:13Draw the rest of the owl
~/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.