
#8165: Use GeneralizedNewtypeDeriving to automatically create associated type families -------------------------------------+------------------------------------ Reporter: MikeIzbicki | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by goldfire): What should happen in this scenario: {{{ class D a where type U a instance D Int where type U Int = Int newtype E = MkE Int deriving D }}} What does `U E` reduce to, `E` or `Int`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8165#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler