<div dir="ltr"><div class="gmail_quote">On Sun, May 3, 2015 at 2:07 PM Stanislaw Findeisen <<a href="mailto:stf.list.haskell@eisenbits.com" target="_blank">stf.list.haskell@eisenbits.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On 2015-04-28 12:15, Alexey Shmalko wrote:<br>
> I'm sorry, my example should've been:<br>
><br>
> [1,2,3] >>= \a -> [a+1] >>= \a -> return a<br>
<br>
Or just:<br>
<br>
[1,2,3] >>= (return . (+1))<br></blockquote><div><br></div><div>Or just:</div><div><br></div><div>[2,3,4]</div><div><br></div><div>The point of the example was to desugar original do notation and show there are two `a`s involved.</div></div></div>