~/talk

Telling the Truth with Types

links:none on file
slides:none on file

Scala code uses Cats, cats-effect, http4s, kind-projector, partial unification, shapeless and fs2 to lift reasoning into types so behavior is provable at compile time. Examples: replace throwing with ApplicativeError with Throwable and provide a safe divide using a NonZeroInt sealed abstract wrapped in the companion for validation; model sockets → parser → HTTPApp → renderer as Request -> F[Response] with a Resource bracket for stage shutdown to auto-finalize. These patterns compile and eliminate many runtime surprises.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Communication
  3. 3:17Naming
  4. 4:33Not mathematically accurate
  5. 5:06Baseline setup
  6. 5:47Typical examples
  7. 6:20Backdoors
  8. 7:07meaningless types
  9. 7:31function types
  10. 10:20proving that something exists
  11. 12:14there exists
  12. 14:20given int
  13. 15:30generic
  14. 16:27identity
  15. 17:04such
  16. 18:25compound
  17. 20:27deferred composition
  18. 21:40IO app
  19. 22:40HTTP app
  20. 26:19Useless types
  21. 27:42Recap
  22. 28:47Intuition behind there exists
  23. 30:07Shut down
  24. 33:22Making it understandable
  25. 34:42Making it reasonable
  26. 36:07Throwing vs Raising
  27. 37:34No Stupid Questions
  28. 39:24The Rational Type
~/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.