~/talk

Introduction to Linear Type Systems and Linear Haskell

Talkat LambdaConf 2018 · 2018-06-03..06-05· [machine-learning]
links:none on file
links:none on file
slides:none on file

Claims that linear types let the compiler guarantee resource protocols rather than runtime checks, demonstrated by a Linear Haskell extension that rejects programs where a file handle gets weight 0 or Ω. Concrete tools include a linear IO monad and a linear-base resource-safe IO wrapper that forces close-on-exception; the typechecker flags exact misuse. Comparison uses Rust’s ownership/move semantics (copy vs move types, borrow lifetimes). Examples extend to session-typed channel protocols and modeling a scanner as a linear resource; the examples typecheck and catch the intended errors.

AI-written summary · about

  1. 0:00Introduction to subtyping
  2. 1:15The problem with resources
  3. 5:19Substructural type rules
  4. 10:40Linear Haskell extension
  5. 19:25Safe file handling in Haskell
  6. 26:36Ownership and types in Rust
  7. 34:23Session types for protocols
  8. 39:48Medical imaging applications
~/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.