<p>I got an helpful answer on stackoverflow that probably explains it all. Otherwise if i add the type, i'll have to bind it to a concrete monad due to the lack of typeclasses, that's why i didn't put a type. Thanks again.</p>
<div class="gmail_quote">On Sep 7, 2013 9:50 AM, "Daniel Trstenjak" <<a href="mailto:daniel.trstenjak@gmail.com">daniel.trstenjak@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> I thought I understood it, but looking at the difference in behaviour in the examples I posted, maybe I don't.<br>
<br>
I would try to add a type signature for liftM2, perhaps you'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>