~/talk

Category-parametric Programming

Talkat ScalaIO 2018 · 2018-10-29..10-31· [machine-learning]
slides:none on file

Claim: most categorical constructions are parametric over the category, so you can write one generic library and specialize it. Implementation uses Scala + Cats, kind-projector and kind polymorphism, prototypes of typeclass encodings (for example EXO functors, hoist/monad-as-monoid-in-endofunctors), and a literate slide repo whose code mostly compiles except one slide. Runtime is erased but compilation gets slower; some ergonomic and inference pain points remain, but working instances and rewrites show the approach is feasible.

AI-written summary · about

  1. 0:00Introduction
  2. 5:46Kind Projector
  3. 6:44Composition
  4. 7:14Classes
  5. 7:28Categories
  6. 13:47Nonobvious code
  7. 15:02Functors
  8. 19:04EndoFunctor
  9. 19:44EXOFunctor
  10. 21:18Traverse
  11. 24:43Other Functors
  12. 27:35Duality
  13. 30:18Sub categories
  14. 32:47Output shape
  15. 38:48ProFunctor
  16. 39:47Problems
  17. 42:23Applicative
  18. 42:40Mono ID
  19. 43:08Kind Polymorphism
  20. 43:48MA Nodes
  21. 44:24Polymorphism
  22. 44:54Thank you
~/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.