Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- newtype A a = A { runA :: StateT Int IO a } deriving (MonadBaseControl IO)
- -- src/Main.hs:23:55-73: Can't make a derived instance of ‘MonadBaseControl IO A’
- -- (even with cunning newtype deriving):
- -- the class has associated types
- -- In the newtype declaration for ‘A’
- -- Compilation failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement