~/talk

TAMING YOUR HERD OF CATS

Talkat Scalar 2019 · 2019-04-05..04-06· [scala, functional-programming]
slides:none on file

Practical tips for using the cats library: use asRight / asLeft and .some/.none for inferred Option/Either constructors, prefer Nested to map/traverse List[Option] instead of manual nesting, and import cats.implicits unless the team carefully composes cats.syntax and cats.instances to avoid ambiguous implicits. Shows concrete code examples for Semigroup/Monoid instances to combine Lists, Sets, Strings and Option-wrapped values, notes Either is right-biased and which traversal/sequence operations act on the right.

AI-written summary · about

  1. 0:00Introduction
  2. 0:16Overview
  3. 2:20accentuated constructors
  4. 6:25nested
  5. 8:06import
  6. 9:27cut syntax
  7. 11:18importcuts error
  8. 12:05importcuts explanation
  9. 14:01importcuts difficulty
  10. 14:40semigroup demo mono
  11. 16:22combine
  12. 18:25concatenate
  13. 20:08semigroup
  14. 21:42combined
  15. 23:09pers
  16. 25:07types
  17. 25:51recommendations
  18. 26:45Eugenia Kota
~/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.