284
Monads (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] balsoft@lemmy.ml 2 points 6 days ago

It’s a “programmable semicolon” or “decorated-function composition”

"programmable semicolons" is wrong, you can have that without Monads, and in fact Haskell has a do-notation for Applicative. "decorated function composition" is a bit vague, I think I see what you mean but it's not too helpful.

It's just an interface for a generic type that requires two specific functions to be implemented. Understanding why it is so useful is the tricky part.

this post was submitted on 11 Oct 2025
284 points (96.1% liked)

Programmer Humor

26898 readers
869 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

founded 2 years ago
MODERATORS