[Haskell-cafe] Help!! Cannot get RandT and liftIO to work together...

Daniel Fischer daniel.is.fischer at googlemail.com
Thu Dec 23 16:32:37 CET 2010


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.



More information about the Haskell-Cafe mailing list