~/talk

Adopting Cats

Talkat Scalapeño 2018 · on Monday, 2018-07-02· [scala, functional-programming]
links:none on file
slides:none on file

Builds a small JSON transformation library that sequences and combines stages using actual Cats type classes: Functor, Monoid, Applicative, Traverse and Monad, with optional Parallel for concurrency. Uses traverse+zip to run independent tasks, Monoid to merge JSON results, flatMap to chain dependent stages, and supports effects like Future, Option or ID for testing. Implementation is a few lines, agnostic to JSON library or effect, short-circuits on failure and lets stages run in parallel when the effect supports it.

AI-written summary · about

  1. 0:00Introduction to Cats
  2. 2:12Understanding Functors
  3. 5:02Building JSON library
  4. 8:55Combining results with Monoid
  5. 11:45Applicative for parallel tasks
  6. 16:10Monad for dependent computations
  7. 21:06Type classes in practice
  8. 25:09Testing and flexibility
  9. 26:40Beyond Cats ecosystem
~/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.