~/talk

M-M-M-Monads!

Talkat Dutch PHP Conference 2017 · 2017-06-29..07-01· [functional-programming]
slides:none on file

Sees clear, runnable PHP examples: an immutable stack and two collection implementations, then concrete implementations of a Maybe monad and a Many monad with create and then methods, plus a flatMap-based tag-cloud example that reduces nested loops. Shows chaining to eliminate explicit null checks, uses PHP short closures, and maps the pattern to promises, jQuery and Laravel query builders. Good if wanting hands‑on refactors and code you can copy and run.

AI-written summary · about

  1. 0:00Start
  2. 2:41Operations
  3. 3:26Rules
  4. 4:09ArrayStack
  5. 6:30LinkedListStack
  6. 8:19Stack Size Method
  7. 11:04ArrayCollection
  8. 12:02RangeCollection
  9. 13:38Collection Select Method
  10. 15:57Handling null
  11. 29:43Handling many
  12. 33:48Similar things
  13. 36:03Monad Within 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.