~/talk

Scalaz, or: how I learned to stop worrying and love monads

Talkat Scala.IO 2014 · 2014-10-23..10-24· [frontend-architecture]
slides:none on file

Imports of Scalaz add real methods and typeclass instances so code compiles to safer, smaller APIs: disjunctions replace Either, Validation parses safely, and enhanced Option/Future/List methods appear. Examples show a generic add over a Functor, combining three map lookups with the Applicative builder to get an Option sum, using foldMap counting to aggregate lists and maps, and abstracting effects to abstract over Monad to swap Future for Id so tests run synchronously. All examples rely on compiler-checked implicits and behave as described.

AI-written summary · about

  1. 0:00Introduction
  2. 8:37Map
  3. 17:44Warnings
  4. 19:54Map classes
  5. 22:29Applicative
  6. 28:02FoldMap
  7. 33:25My eyes
  8. 34:06Imran art
  9. 37:01Social behavior
  10. 38:27Point
  11. 46:05Refactor
  12. 46:31Testing
  13. 47:04Future
~/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.