Indeed, thank you. mtl is cruel with me for <br>the second time uumpf. But it's strange mtl<br>just reexports transformer's module<br><br><br><br><div class="gmail_quote">2012/6/23 MigMit <span dir="ltr"><<a href="mailto:miguelimo38@yandex.ru" target="_blank">miguelimo38@yandex.ru</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 23 Jun 2012, at 21:27, Anton Kholomiov wrote:<br>
<br>
> At last..<br>
><br>
> No, it wants me to define an instance for<br>
> (StateT s) which is supposed to be defined<br>
> be the authors of the library.<br>
><br>
> Actually I discovered that I have two libraries<br>
> called transformers.<br>
><br>
> transformers-0.2.2.0<br>
> transformers-0.3.0.0<br>
><br>
> So when I'm doing<br>
><br>
> import Control.Monad.Trans (0.2.2.0)<br>
<br>
</div>Ehm... seems like you're importing mtl instead of transformers. AFAIK there is no "Control.Monad.Trans" module in transformers.<br>
<div class="im"><br>
><br>
> I get the error<br>
><br>
> And when I'm doing<br>
><br>
> import Control.Monad.Trans.Class (0.2.2.0)<br>
><br>
> It compiles.<br>
><br>
><br>
> Anton<br>
><br>
</div>> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br>
</blockquote></div><br>