~/talk

MONADS - CODING FUNCTIONALLY

TalkinRussianat The Rolling Scopes #46 Mogilev · on Saturday, 2018-04-21· [javascript, frontend-architecture]
links:none on file
slides:none on file

Presents concrete JavaScript implementations of functors and monads (of/map/flatMap), demonstrates Maybe and Either patterns to handle nulls instead of try/catch, and treats Promise as a monad with chaining examples. References the fantasy-land spec and V8 internals' monad-like containers, and runs live code demos while noting the examples are practical but not yet production-deployed with caveats about real-world adoption.

AI-written summary · about

  1. 0:00Start
  2. 1:08Functional Programming
  3. 2:39Core Concepts
  4. 3:08Pure Functions
  5. 3:47Composing Functions
  6. 7:45Trade-offs
  7. 9:00Fantasy Land
  8. 10:20Composing simple functions
  9. 11:28Requirements for Functor
  10. 12:28Functor explained
  11. 14:08String Functor
  12. 15:01Functor Properties
  13. 16:36Monad Requirements
  14. 16:59Monad laws
  15. 18:55Maybe Monad
  16. 20:48Monad requirements
  17. 21:38Monad requirement - Doll
  18. 22:18Doll example
  19. 24:09Promise example
~/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.