[Haskell-cafe] transformers problem: Could not deduce MonadTrans (StateT s) ??
Anton Kholomiov
anton.kholomiov at gmail.com
Sat Jun 23 19:27:42 CEST 2012
At last..
No, it wants me to define an instance for
(StateT s) which is supposed to be defined
be the authors of the library.
Actually I discovered that I have two libraries
called transformers.
transformers-0.2.2.0
transformers-0.3.0.0
So when I'm doing
import Control.Monad.Trans (0.2.2.0)
I get the error
And when I'm doing
import Control.Monad.Trans.Class (0.2.2.0)
It compiles.
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120623/d51899c4/attachment.htm>
More information about the Haskell-Cafe
mailing list