~/talk

Typelevel Programming 101: The Subspace of Scala

Talkat Scala World 2015 · 2015-09-20..09-22· [scala]
links:none on file
slides:none on file

Scala code encodes booleans, Peano natural numbers, and vectors whose lengths are tracked and enforced at compile time, using implicits, structural type lambdas, and shapeless/illTyped tests so bad cases fail to compile instead of throwing runtime exceptions. Examples include typed map, fold and concatenation that compile and run, with the real repo and tests available. Practical limit: deeply recursive type computations hit the compiler (stack) around ~1024 and can hang or overflow.

AI-written summary · about

  1. 0:00Intro
  2. 1:16Joes background
  3. 2:06What do I know about Scala
  4. 3:09What is Scala
  5. 6:27Type assignment
  6. 7:08Billions
  7. 8:30Type parameters
  8. 10:41Compile
  9. 12:16IllType
  10. 14:01Syntax Trick
  11. 15:18Two Types
  12. 15:28Natural Numbers
  13. 17:25Type Version
  14. 18:57Value
  15. 19:32Recursive
  16. 20:38Vectors
  17. 21:48Convenience Constructor
  18. 23:59Validate Sizes
  19. 24:17Validation
  20. 25:26Nonempty vector
  21. 27:57Zero
  22. 28:21Type Signature
  23. 29:16Concatenate
  24. 29:37NonEmpty
  25. 29:59Combining operators
  26. 30:33The next day
  27. 30:51The type list
  28. 32:13Reduce
  29. 33:14Map
  30. 33:40Type Lambda
  31. 36:00Type Map
  32. 37:27Github
  33. 38:35Fold
  34. 39:35Line Breaks
  35. 41:26Agile
  36. 41:40Shape
  37. 41:50Compile Time
  38. 42:20Type outages propagate
  39. 43:06What if you dont know the size in advance
~/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.