[GHC] #12823: Inconsistency in acceptance of equality constraints in different forms
GHC
ghc-devs at haskell.org
Fri Nov 11 03:15:31 UTC 2016
#12823: Inconsistency in acceptance of equality constraints in different forms
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 8.0.1
checker) |
Resolution: | Keywords: GADTs
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 rwbarton):
I assume `EqualF` should be `EqualS`.
As long as we're allowing the full application of a multiparameter type
class in a module with no extensions in the first place (strictly
speaking, it should be a syntax error in Haskell 2010), I see no purpose
in rejecting either of your functions in module `B`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12823#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list