#1588: unrequested generalized newtype deriving?
----------------------+-----------------------------------------------------
Reporter: SamB | Owner: igloo
Type: bug | Status: new
Priority: normal | Milestone: 6.8.1
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Changes (by igloo):
* owner: => igloo
* milestone: => 6.8.1
Comment:
Thanks for the report; these both give me:
{{{
No instance for (Eq (m (Maybe a)))
arising from the 'deriving' clause of a data type declaration
at z.hs:2:0-70
Possible fix: add an instance declaration for (Eq (m (Maybe a)))
When deriving the instance for (Eq (MaybeT m a))
}}}
with GHC 6.8.1. I'll add your testcase to the testsuite.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1588#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs