[GHC] #9838: PatternSynonyms and ConstraintKinds should not be required at the use site.
GHC
ghc-devs at haskell.org
Wed Nov 26 21:42:15 UTC 2014
#9838: PatternSynonyms and ConstraintKinds should not be required at the use site.
-------------------------------------+-------------------------------------
Reporter: ekmett | Owner:
Type: feature | Status: new
request | Milestone:
Priority: normal | Version: 7.8.3
Component: Compiler | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Unknown
Unknown/Multiple | Blocked By:
Type of failure: | Related Tickets:
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Changes (by simonpj):
* cc: cactus, goldfire (added)
Comment:
I agree 100%. Requiring a language extension flag at the definition but
not the use is definitely GHC's standard policy. (Eg overlapping
instances.)
I understand about pattern synonyms. Gergo, could you look at this?
I don't understand about constraint kinds. Can you give a concrete
example?
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9838#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list