Skip to content

Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 27

Functional programming

Functional techniques beyond composition: updating data without mutating it, structures that make that cheap, and the functional vocabulary behind map, flatMap and then. Pure functions, currying and composition live in 08 — Functions.
  1. 010How do you update nested data immutably, and what does each copy cost?medium
  2. 020What are persistent data structures, and how does structural sharing make them cheap?hard
  3. 030Is a Promise a monad? map, flatMap and then in functional termshard