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

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


On Thursday 23 December 2010 15:52:40, JP Moresmau wrote:
>  what am I missing?
>

Maybe I just spotted it:

>
> But the MonadRandom docs say:
> Instances:
> 
MonadIO<http://hackage.haskell.org/packages/archive/transformers/0.2.2.0/doc/html/Control-
Monad-IO-Class.html#t:MonadIO> m

links to the transformers package, but MonadRandom uses mtl.

> =>
> MonadIO<http://hackage.haskell.org/packages/archive/transformers/0.2.2.0
>/doc/html/Control-Monad-IO-Class.html#t:MonadIO>




More information about the Haskell-Cafe mailing list