TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The "Monad Tutorial Fallacy" (2009)

7 点作者 manaskarekar大约 1 年前

5 条评论

erik_seaberg大约 1 年前
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>
karmakaze大约 1 年前
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>
julienfr112大约 1 年前
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.
ggm大约 1 年前
It always disappointed me how utterly unlike a burrito a monad turns out to be. No hint of beans, queso, or salad.
Iceland_jack大约 1 年前
That reminds me, I should write a Monad tutorial.