Functional Concepts in Elixir
summary
Shows concrete Elixir code patterns: using pattern matching for authentication and extracting current_user_id, modeling data with maps and binaries, and passing anonymous functions into Enum and Stream. Demonstrates tail recursion with an accumulator to process millions of items without stack growth, a simple continuation‑passing style workflow integrated into a supervisor/OTP process tree, and argues that referential transparency and pure functions make testing and reasoning about stateful apps easier.
AI-written summary · about
chapters (11)
- 0:00Elixir concepts
- 1:19Functional programming basics
- 4:07Functions as first-class
- 8:52Pattern matching and data
- 13:32List processing and MapReduce
- 18:07Anonymous functions and closures
- 23:13Recursion and functions
- 28:11Optimization and performance
- 33:20Supervisors and error handling
- 36:42Compiler optimizations
- 38:12Summary and resources
related talks
45mLearn you some pattern matching for great good!
37mElixir - functional, concurrent, distributed programming
42mTaking inspiration from the functional world
23mHow to teach Elixir to non-functional developers
44mReal-World Functional Ruby
41mFunctional Programming for Dummies*
41mFunctional programming: Give it a chance!
37mFireside chat on bringing more FP to Elixir
