diff options
author | Jan Stolarek <jan.stolarek@p.lodz.pl> | 2016-01-09 20:58:52 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-01-09 20:58:54 +0100 |
commit | fbd6de2f0761b63a5f0a88ce0590f515d63790a4 (patch) | |
tree | c3bf647973fb4b675731a27d15af9919cd29d9e2 /utils/mkUserGuidePart/Options/Language.hs | |
parent | 5cb236dd6b497da0b9072b20ca74c298477f7a61 (diff) | |
download | haskell-fbd6de2f0761b63a5f0a88ce0590f515d63790a4.tar.gz |
Add InjectiveTypeFamilies language extension
Previously injective type families were part of TypeFamilies.
Now they are in a separate language extension.
Test Plan: ./validate
Reviewers: austin, bgamari, goldfire
Reviewed By: bgamari
Subscribers: goldfire, thomie
Differential Revision: https://phabricator.haskell.org/D1750
GHC Trac Issues: #11381
Diffstat (limited to 'utils/mkUserGuidePart/Options/Language.hs')
-rw-r--r-- | utils/mkUserGuidePart/Options/Language.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/mkUserGuidePart/Options/Language.hs b/utils/mkUserGuidePart/Options/Language.hs index 0fc3ea5f25..ddd05ea13f 100644 --- a/utils/mkUserGuidePart/Options/Language.hs +++ b/utils/mkUserGuidePart/Options/Language.hs @@ -340,6 +340,14 @@ languageOptions = , flagReverse = "-XNoIncoherentInstances" , flagSince = "6.8.1" } + , flag { flagName = "-XInjectiveTypeFamilies" + , flagDescription = + "Enable :ref:`injective type families <injective-ty-fams>`. "++ + "Implies ``-XTypeFamilies``." + , flagType = DynamicFlag + , flagReverse = "-XNoInjectiveTypeFamilies" + , flagSince = "8.0.1" + } , flag { flagName = "-XInstanceSigs" , flagDescription = "Enable :ref:`instance signatures <instance-sigs>`." |