~/talk

Opaque Types To Infinity

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

Shows a concrete technique to get zero‑cost opaque types in Scala using abstract type members plus a globally ascribed val, demonstrates subs proof functions for controlled equality and typeclass‑based constraints (functor/contravariant/traverse) to permit or forbid coercions, warns about translucency and coherence problems with subtyping, and builds a working recursive Fix [infinite] type as used in Scalaz 8 to encode recursion schemes with no runtime wrapper; requires modern Scala (notes Scala 2.12.4 specifics about implicit search).

AI-written summary · about

  1. 0:00Intro
  2. 0:40Opaque Types
  3. 2:38The goal
  4. 5:46The signature
  5. 7:09The structure
  6. 11:46Public vs private
  7. 15:58Functions
  8. 17:38Proof of Type Quality
  9. 21:01ObjectOriented Subtyping
  10. 23:13Type Alias
  11. 23:54Subtyping Relationships
  12. 25:23Subtyping Signature
  13. 26:28Subtyping
  14. 28:11Type Classes
  15. 30:03Conformance
  16. 31:21Label and strain
  17. 36:33Functors
  18. 39:25List Types
  19. 41:16Recursion
  20. 42:04Vowel
  21. 45:52Questions
  22. 48:09Recursion Schemes
  23. 49:39Implicit Resolve
  24. 51:50Closing Notes
~/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.