News for hackers. Stuff that matters.
Re:Implementing 2048 in 90 lines of Haskell by gu on Monday June 16, 2014 @04:01AM (#7897846)
The bind operator (>>=) is commonly expressed in 'do' notation. The following two code snippets are equivalent:

do x <- foo; y <- bar; baz x y

foo >>= \x -> bar >>= \y -> baz x y

There are no comments on this comment yet.