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!

JP

On Thu, Dec 23, 2010 at 4:32 PM, Daniel Fischer <daniel.is.fischer@googlemail.com> wrote:
On Thursday 23 December 2010 16:21:05, JP Moresmau wrote:
> 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?

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.



--
JP Moresmau
http://jpmoresmau.blogspot.com/