Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
df9814b4
Commit
df9814b4
authored
Jul 09, 2007
by
Ian Lynagh
Browse files
Add -XExistentialQuantification flag
parent
f109a0b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
compiler/main/DynFlags.hs
View file @
df9814b4
...
...
@@ -189,6 +189,7 @@ data DynFlag
|
Opt_FunctionalDependencies
|
Opt_UnicodeSyntax
|
Opt_PolymorphicComponents
|
Opt_ExistentialQuantification
|
Opt_MagicHash
|
Opt_EmptyDataDecls
|
Opt_KindSignatures
...
...
@@ -1112,6 +1113,7 @@ xFlags = [
(
"UnicodeSyntax"
,
Opt_UnicodeSyntax
),
(
"MagicHash"
,
Opt_MagicHash
),
(
"PolymorphicComponents"
,
Opt_PolymorphicComponents
),
(
"ExistentialQuantification"
,
Opt_ExistentialQuantification
),
(
"KindSignatures"
,
Opt_KindSignatures
),
(
"EmptyDataDecls"
,
Opt_EmptyDataDecls
),
(
"ParallelListComp"
,
Opt_ParallelListComp
),
...
...
@@ -1172,6 +1174,7 @@ glasgowExtsFlags = [ Opt_GlasgowExts
,
Opt_FunctionalDependencies
,
Opt_MagicHash
,
Opt_PolymorphicComponents
,
Opt_ExistentialQuantification
,
Opt_UnicodeSyntax
,
Opt_PatternGuards
,
Opt_RankNTypes
...
...
compiler/parser/Lexer.x
View file @
df9814b4
...
...
@@ -1591,6 +1591,7 @@ mkPState buf loc flags =
.|. ipBit `setBitIf` dopt Opt_ImplicitParams flags
.|. explicitForallBit `setBitIf` dopt Opt_ScopedTypeVariables flags
.|. explicitForallBit `setBitIf` dopt Opt_PolymorphicComponents flags
.|. explicitForallBit `setBitIf` dopt Opt_ExistentialQuantification flags
.|. bangPatBit `setBitIf` dopt Opt_BangPatterns flags
.|. tyFamBit `setBitIf` dopt Opt_TypeFamilies flags
.|. haddockBit `setBitIf` dopt Opt_Haddock flags
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment