TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The "Monad Tutorial Fallacy" (2009)

7 pointsby manaskarekarabout 1 year ago

5 comments

erik_seabergabout 1 year ago
A couple of earlier appearances netted some discussion:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28690798">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28690798</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=431702">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=431702</a>
karmakazeabout 1 year ago
When folks ask &quot;What is a monad?&quot;, they usually don&#x27;t want the technical meaning, they&#x27;re wondering what they can do to see why they should care or take the time to learn&#x2F;use them. Here&#x27;s a summary[0] that&#x27;s as good as any I&#x27;ve seen.<p>&gt; Summary. We have seen that a monad is a type constructor, a function called return, and a combinator function called bind or &gt;&gt;= . These three elements work together to encapsulate a strategy for combining computations to produce more complex computations.<p>[0] <a href="https:&#x2F;&#x2F;wiki.haskell.org&#x2F;All_About_Monads#Summary" rel="nofollow">https:&#x2F;&#x2F;wiki.haskell.org&#x2F;All_About_Monads#Summary</a>
julienfr112about 1 year ago
Like models, all abstraction are False, but some are usefull. I never found Monad to be usefull : a abstraction shared by async&#x2F;await and map&#x2F;list comprehension is for me a bad abstraction, because as a developper I typically want to know if I&#x27;m dealing with the former or the later. And want to manually combine them, like with gather.
ggmabout 1 year ago
It always disappointed me how utterly unlike a burrito a monad turns out to be. No hint of beans, queso, or salad.
Iceland_jackabout 1 year ago
That reminds me, I should write a Monad tutorial.