[Haskell-cafe] Help!! Cannot get RandT and liftIO to work together...
jpmoresmau at gmail.com
Thu Dec 23 16:40:47 CET 2010
Thanks a million, it worked! Following all the dependencies sometimes is a
bit of a headache. But in a sense, I'm happy to see I had understood how to
use the monad transformer correctly, it wasn't me being (too) stupid. Thanks
On Thu, Dec 23, 2010 at 4:32 PM, Daniel Fischer <
daniel.is.fischer at googlemail.com> wrote:
> On Thursday 23 December 2010 16:21:05, JP Moresmau wrote:
> > GHC 6.12.1, base 184.108.40.206, MonadRandom-0.1.6, transformers-0..2.2.0, on
> > Windows.
> > Could it be that my system is not picking up the MonadIO I think it does?
> Probably. With 6.12.1, you'll probably have an mtl-1.* installed, so the
> MonadIO used by MonadRandom is not the same as the one provided by
> transformers. Reinstall mtl to get version 2.* and MonadRandom if that's
> the case.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe