[Haskell-cafe] Why do I have to specify (Monad m) here again?

Marc Weber marco-oweber at gmx.de
Sun Feb 18 09:21:36 EST 2007


Why do I have to specify (Monad m) here again?

class (Monad m) => GetMV m a where
...

instance GetMV m c where
...

No instance for (Monad m)
       arising from the superclasses of an instance declaration
possible fix:
       add (Monad m) to the instance declaration superclass context

Marc


More information about the Haskell-Cafe mailing list