<html><body><br><div>On Jun 06, 2012, at 08:44 AM, Andreas Abel &lt;andreas.abel@ifi.lmu.de&gt; wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"> Well, but nothing in the type system prevents you from writing<br> <br> mapM f xs &gt;&gt; cont<br> <br> or<br> <br> do mapM f xs<br>&nbsp;&nbsp;&nbsp;&nbsp; cont<br> <br> so you are not warned of a space leak in the common situations anyway, </div></div></blockquote><span>&nbsp;</span><br><br>At least the second form will trigger a warning in GHC (although admittedly not from the type system, but from -fwarn-unused-do-bind).&nbsp; It is a jolly useful warning at times.<br><br>Regards,<br>&nbsp;&nbsp;&nbsp; Malcolm<br></div></div></body></html>