Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What I Wish I Knew When Learning Haskell. Parent comment
We call it bind, but there's no pragmatic point in writing bind in it's infix form because of the prelevalence of the pattern.
Would you rather have that, or
(m `bind` f) `bind` g = m `bind` (\x -> (f x) `bind` g)
There are no comments on this comment yet.
We call it bind, but there's no pragmatic point in writing bind in it's infix form because of the prelevalence of the pattern.
Would you rather have that, or