472
stop (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] CanadaPlus@lemmy.sdf.org 3 points 5 days ago* (last edited 5 days ago)

It is, although I'm not sure it's complete. A list is one kind of monad, despite working like non-mutable linked lists would in any other language. They just happen to behave monadically, providing an obvious and legal interpretation of the monad functions. Going off of OP you might think monads are all Maybe.

I will say that the concept is overhyped in at this point, at least in Haskell, and there's a lot of monads available that do what plain functional code could but worse.

this post was submitted on 27 Mar 2025
472 points (95.0% liked)

Programmer Humor

22134 readers
2112 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