this post was submitted on 11 Oct 2025
274 points (96.3% liked)
Programmer Humor
27224 readers
254 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Isn't your example just the builder pattern?
Yeah, that explanation is missing the critical point of generically applying external functions through
flat_map/bindI think this is a good explanation: https://fsharpforfunandprofit.com/rop/
A monad is a builder that lets you use previous partial results to make decisions while you build.
that sounds like a regular builder
If you regular builders can't be composed as values...
That may be regular, but it doesn't make them good. Some times you need that, and it's ok, but that shouldn't be most times.