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 again!
On Thursday 23 December 2010 16:21:05, JP Moresmau wrote:Probably. With 6.12.1, you'll probably have an mtl-1.* installed, so the
> GHC 6.12.1, base 4.2.0.0, 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?
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.