HackerTubewatch
Surprise me
Frame from Monad - FunFunFunction #21 Plays via YouTube's privacy-enhanced embed

Monad - FunFunFunction #21

Fun Fun Function
Tutorials
YouTube
3 HN users recommended this tutorial3 months2016–2021 score 3.5
Years with an HN recommendation, 2007–2026

Recommended to people confused by monads as a friendly, practical explanation for JavaScript developers, with one commenter saying it finally made it click.

An episode of FunFunFunction explaining monads in JavaScript as functors that also implement flatMap. It builds on the preceding functor episode and works through code examples.

“I saw a video by MPJ/Funfunfunction [0] and it finally made sense.” (HN, 2021)

1 strong recommendations · 2 recommendations · 1 citations · Tutorials · intermediate

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@k__ Oct 2021 Strongly recommends
on HN thread Functors, Applicatives, and Monads in Pictures (2013)
I read this example years ago, and it didn't clear anything up for me. After half a year of trying to understand monads, I saw a video by MPJ/Funfunfunction [0] and it finally made sense. [0] [this video]
Finally made monads make sense after months of trying
@intellectable Jul 2016 Recommends
on HN thread Functional Programming Jargon
I like how mpj explains it. Monad - FunFunFunction #21 [this video] Furthermore, the creator of Elm has a fun explanation too. Evan Czaplicki - Let's be mainstream! User focused design in Elm - Curry On [link] More serious computer scientist explains monads in the following. Erik Meijer: Functional Programming [link] and here too [link]
Fun explanation of monads
@icc97 Feb 2018 Recommends
on HN thread JavaScript Promises Discussion: Make Them Monadic? (2013)
Here's a half baked explanation, as in just the flatmap part. map is understood in javascript. So you 'just' need to make the leap to flatmap. Which is mapping something and flattening the result. So still you need to learn is what flatten is. But that's not too hard to learn. Try the funfunfunction video [0] [0]: [this video]
Explains flatmap and monads for JavaScript developers

Citations, criticism and jokes

@cosinetau Mar 2017 Cites it
on HN thread Attitudes That Lead to Maintainable Code
A nomad is something that goes "nom!" ;) A monad is basically an function, in the algebra sense, that will take a set of input, and map it to a different output. That's the most simple definition I can give without getting into the math, and it's been a minute since I've really gotten into Group theory. Maybe through a Haskell tutorial for some hands-on guidance? [link] [this video]
Offered as a monad explanation for a confused asker

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close