~/talk

Functional Patterns and Gems in Scala

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [scala, functional-programming]
links:none on file
slides:none on file

Defines a Planet monad and implements its Monad/Functor/Traverse laws in Scala, using Cats/Scalaz concepts, for-comprehensions and flatMap examples; shows a concrete doomsday postponed example where Earth/Mars/Venus preparation functions are lifted to disjunctions (Either) and inverted with Traverse and an Applicative instance. Demonstrates a natural transformation path toward free monads, recommends Ammonite REPL for imports, and provides runnable examples that validate the monad/identity/associativity and traverse laws.

AI-written summary · about

  1. 0:00Introduction to FP patterns
  2. 1:29Declarative programming
  3. 3:38Beyond syntax and style
  4. 5:34Functional gems and concepts
  5. 7:31Sequential computation
  6. 9:28Signature-based design
  7. 12:03Monad laws and structure
  8. 14:19Monad and functor mechanics
  9. 17:07Composition and algebra
  10. 21:26Disjunctions and traversal
  11. 24:35Defining traverse and app
  12. 26:29Advanced composition laws
  13. 30:34Closing and recommendations
~/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.