<p>I got an helpful answer on stackoverflow that probably explains it all. Otherwise if i add the type, i&#39;ll have to bind it to a concrete monad due to the lack of typeclasses, that&#39;s why i didn&#39;t put a type. Thanks again.</p>

<div class="gmail_quote">On Sep 7, 2013 9:50 AM, &quot;Daniel Trstenjak&quot; &lt;<a href="mailto:daniel.trstenjak@gmail.com">daniel.trstenjak@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; I thought I understood it, but looking at the difference in behaviour in the examples I posted, maybe I don&#39;t.<br>
<br>
I would try to add a type signature for liftM2, perhaps you&#39;re than getting a more helpful error message.<br>
<br>
Greetings,<br>
Daniel<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</blockquote></div>