[Haskell-cafe] transformers problem: Could not deduce MonadTrans (StateT s) ??
Anton Kholomiov
anton.kholomiov at gmail.com
Sat Jun 23 19:26:31 CEST 2012
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.3.0.0)
It compiles.
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120623/87c3fc30/attachment.htm>
More information about the Haskell-Cafe
mailing list