~/talk

TRAVERSALS FOR ALL OCCASIONS

Talkat Scalar 2018 · 2018-04-06..04-07· [functional-programming, scala]
links:none on file
slides:none on file

Traverse generalizes sequence so a T[F[A]] becomes an F[T[A]] and the talk shows concrete instances that make that work in production: using Cats’ parTraverse and EitherT/IO to turn a list of HTTP requests into an IO[Either[NonEmptyList[Error], List[User]]] that runs requests in parallel and accumulates errors, adding about ten Traverse helpers to Cats. It demonstrates Validated for commutative error accumulation (useful for unordered containers like Spark RDDs), non‑empty traversals, flatTraverse and when each actually succeeds or short‑circuits.

AI-written summary · about

  1. 0:00Introduction
  2. 0:38Motivation
  3. 1:53Teaser
  4. 2:37Traverse
  5. 10:20NonEmpty Traverse
  6. 12:15NonEmpty List Traverse
  7. 13:15NonEmpty Map Traverse
  8. 18:30Commutative Applicative
  9. 20:27AnyS
  10. 21:36Flat Traverse
  11. 22:50Flat Traverse Example
  12. 23:26Parallel Types
  13. 27:43Other traversals
  14. 28:00Instants list
  15. 28:55Silly function
  16. 29:29Summary
~/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.