~/talk

The Monad and You

TalkinGermanat code.talks 2017 · 2017-09-28..09-29· [frontend-architecture]
slides:none on file

Monads are presented as a way to capture recurring patterns and enable safe composition, demonstrated with examples for lists, streams and Optional plus an in-memory dictionary. The talk shows Haskell-style type classes and Java 8 Streams/Optional as analogies and builds a small DB DSL (get/put/return) with a bind/splice implementation executed by a dictionary interpreter; the type system enforces correctness and supports law-based reasoning, and a project application uses a “Hope” monad for error handling.

AI-written summary · about

  1. 0:00Introduction
  2. 3:09Monads basics
  3. 7:44Map function
  4. 10:15Container types
  5. 15:32Functors with dicts
  6. 20:10DSL for DB ops
  7. 24:46DB program interpretation
  8. 30:20Composing programs
  9. 34:19Monads benefits
  10. 37:26Monad syntax
  11. 40:55Summary
~/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.