
#14733: Won't use (forall xx. f xx) with -XQuantifiedConstraints -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.5 Resolution: | Keywords: | QuantifiedConstraints, wipT2893 Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by sjoerd_visscher): How about adding the workaround internally? I.e. add {{{ class c => SomeInteralClass c instance c => SomeInternalClass c }}} and translate `(forall xx. f xx)` to `(forall xx. SomeInternalClass (f xx))` -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14733#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler