
#14332: Deriving clauses can have forall types -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 8.2.1 checker) | Resolution: | Keywords: deriving Operating System: Unknown/Multiple | Architecture: Type of failure: GHC accepts | Unknown/Multiple invalid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): I intended to move the `forall` to the left of the context. So `deriving (forall <...>. C tys)` is like `instance forall <...>. ... => C tys`. That's nice and simple, I think. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14332#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler