Hey all,<br><br>I've been trying to access the inner state "s" for this type:<br><br>newtype TestThingey s a = TestThingey {<br> runTrans :: ReaderT Int (StateT String (StateT s IO)) a<br>} deriving (Monad, MonadIO, MonadState String, MonadReader Int)<br>
<br>It doesn't seem to be doable. I could make it into a regular type declaration, but then I lose the GeneralizedNewtypeDeriving. Is this common? Or do people just avoid needing to use "lift"?<br><br>-Arthur<br>