~/talk

Essential Functional Structures: Functor, Applicative and Traverse

TalkinFrenchat ScalaIO 2019 · 2019-10-29..10-31· [machine-learning]
links:none on file
slides:none on file

Defines Functor, Applicative and Traverse in Scala with concrete code patterns and law checks, using Option, List, Either and Future to demonstrate map, ap, pure and compose. Shows using Applicative to combine multiple API calls and to perform validations with control over check ordering, and presents a traverse/sequence implementation that accumulates successes into a List but short‑circuits on the first error, plus guidance on replacing nested maps with composed contexts.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00REVISIONS - OPTION
  3. 1:51FUNCTOR: DEFINITION
  4. 4:29FUNCTOR: SPECS - MAYBE
  5. 5:02FUNCTOR: INSTANCE - MAYBE
  6. 5:48FUNCTOR: LAWS - IDENTITY
  7. 6:24FUNCTOR: LAWS - COMPOSITION
  8. 7:09FUNCTOR: COMPOSITION - INTRODUCTION
  9. 9:48APPLICATIVE - LIMITATIONS OF FUNCTOR
  10. 10:03APPLICATIVE - TWO METHODS: PURE
  11. 11:34APPLICATIVE - DEFINITION
  12. 13:03APPLICATIVE - INSTANCE: MAYBE
  13. 18:58TRAVERSE - LIMITATIONS OF APPLICATIVE
  14. 20:03TRAVERSE - INTRODUCTION
  15. 20:26TRAVERSE - SEQUENCE METHOD
  16. 21:46TRAVERSE - ANOTHER APPROACH
  17. 23:24TRAVERSE - TRAVERSE METHOD
~/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.