From Javascript to Haskell : Functional Programming made simple
summary
Live coding converts an imperative JavaScript movie-search into a pure functional pipeline, keeping tests and removing side effects by returning new arrays (concat instead of push) and moving mutation to the boundaries. Code shrinks from loops to reuse of filter plus small accessors, then to currying and point-free composition; lambdas replace named one-off functions. Resulting refactor runs the same tests, shows clearer data flow, and demonstrates the exact steps to translate everyday JS into functional style.
AI-written summary · about
chapters (7)
- 0:00Functional programming journey
- 2:34Imperative vs functional basics
- 14:04Removing side effects
- 17:41Lambda functions and immutability
- 28:38Simplifying with filter and currying
- 30:25Refactoring business logic
- 47:20Why side effects matter








