~/talk

Quantitative Types in Idris 2

Talkat SPLASH 2020 REBASE · 2020-11-16..11-23· [functional-programming]
links:none on file
slides:none on file

A new Idris 2 core implements Quantitative Type Theory (Conor McBride, Bob Atkey) with concrete multiplicities 0 1 ω, enabling dependent+linear types. The implementation boots from Chez Scheme (build shown at 4m41s) and runs examples that work: type-driven synthesis finds the intended rep implementation first among 16 candidates; a run‑length uncompress uses zero multiplicity to keep compressed data erased at runtime; a linear secure‑store protocol and a linear socket API encode state transitions in types so resource protocols are enforced at compile time.

AI-written summary · about

  1. 0:00Introduction
  2. 1:54What is Idris
  3. 4:15Quantitative Types
  4. 6:24Interactive Editing
  5. 18:51Code
  6. 28:41Network Socket API
  7. 30:46IO primitives
  8. 38:15Summary
~/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.