News for hackers. Stuff that matters.
Re:What I Wish I Knew When Learning Haskell by mhitza on Saturday December 07, 2013 @09:02PM (#6868670)
But (>>=) is a control flow abstraction, just like your for, while in imperative languages.

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.