Functional Programming Patterns for Mere Mortals
summary
Shows concrete use of functor, applicative, monad patterns with Haskell, F#, PureScript and .NET libraries (FSharpX, parsec, optparse‑applicative). Demonstrates that functors let map values inside Maybe/List/Task/Observable; applicatives let validators compose and accumulate all errors (AccValidation example replaces tangled pattern matches); monads (bind/selectMany) flatten chained lookups and async flows; CLI and phone‑parser examples compile and run, and the validator and parser demos produce the expected aggregated errors or parsed records.
AI-written summary · about
chapters (25)
- 0:00Introduction
- 1:06Patterns
- 2:38Functional Programming
- 4:09Functional Basics
- 5:24Some Types
- 6:42High Kind of Types
- 8:02Examples
- 9:39Map
- 13:56Avatar URL
- 15:23Functors
- 17:20Applicator Example
- 17:44Validation Example
- 20:22Application Functions
- 23:06Application Examples
- 30:06Applicatives
- 30:49Applicative Example
- 32:31Command Line Example
- 37:30Monads
- 38:32Example Code
- 39:59Function Type Signature
- 42:18Lookup with Monads
- 46:00Example with Monads
- 50:14Async Expressions
- 51:57Monad Expressions
- 53:24Example
related talks
31mMONADS - CODING FUNCTIONALLY
01h 00mFunctional architecture - The pits of success
34m[Eng Sub]Is it Okay to Pursue Functional Programming on Frontend?
49mScalaz, or: how I learned to stop worrying and love monads
41mArchitectures Using Functional Programming Concepts
41mThe Free Monad by Example
28mHow to use Functional Programming in your React app
45mOptimusPrimeT
