~/talk

Parametricity The Essence of Information Hiding

Talkat LambdaConf 2015 · 2015-05-22..05-24· [typescript]
slides:none on file

Claims that parametricity lets types enforce invariants by excluding implementation possibilities and shows how to prove behavior from signatures. Covers universal and existential quantification, uses Haskell code (but maps ideas to unityped languages), refactors a broken list-based implementation into one with a functor constraint for firsts, demonstrates doctest laws to pin down reverse, and points out unsafe primitives like head/bottom that break reasoning. Practical and example-driven: concrete rewrites and failure modes are shown.

AI-written summary · about

  1. 0:00Intro
  2. 1:37About This Talk
  3. 11:26Simple Examples
  4. 14:03Code Reuse
  5. 17:13Typeclasses
  6. 22:04Pitfalls
  7. 26:46Existential Solution
~/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.