[Haskell-cafe] How to implement instance of MonadBaseControl IO

yi huang yi.codeplayer at gmail.com
Wed Aug 22 09:16:40 CEST 2012

I have a `newtype Yun a = Yun { unYun :: ReaderT YunEnv (ResourceT IO) a }`
, and i need to define an instance of `MonadBaseControl IO` for it.
Newtype instance deriving don't work here. I guess the answer is simple, i
just can't figure it out, hope anybody can lightening me.

Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120822/7df0bb19/attachment.htm>

More information about the Haskell-Cafe mailing list