~/talk

In Types We Trust

Talkat Scala Days Lausanne 2019 · 2019-06-11..06-13· [scala]
slides:none on file

Argues that stronger contracts come from types and proofs rather than only examples, implements a Scala sealed ADT for natural numbers with a recursive +, runs property-based tests (generator limited to 0–100, printing edge cases like 100 and 101) that pass, then sketches an inductive proof of associativity and shows the same proposition encoded in dependent types (Agda/Idris) so a compiled inhabitant is a unit proof guaranteeing the property.

AI-written summary · about

  1. 0:00Introduction
  2. 0:43Eiffel
  3. 5:07Require
  4. 6:20Testdriven development
  5. 9:54Hope faith and proof
  6. 13:14Natural Number
  7. 14:54Scala
  8. 18:19Writing a test
  9. 21:35Faith and proof talk
  10. 23:17Proof example
  11. 25:29Proof algorithm
  12. 27:49Proof algorithm 0
  13. 36:24Proof framework
  14. 37:14Contract
  15. 39:10Unit Tests
  16. 39:34Scala Center
  17. 40:15Questions
  18. 41:06Proof
~/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.