Skip to content

Commit 0c9c9cf

Browse files
committed
Add GHC 9.12.1 extensions and options
1 parent 1a285fc commit 0c9c9cf

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

haskell-ghc-support.el

+27
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@
103103
"MonomorphismRestriction"
104104
"MultiParamTypeClasses"
105105
"MultiWayIf"
106+
"MultilineStrings"
106107
"NPlusKPatterns"
108+
"NamedDefaults"
107109
"NamedFieldPuns"
108110
"NamedWildCards"
109111
"NegativeLiterals"
@@ -179,14 +181,17 @@
179181
"NoMonomorphismRestriction"
180182
"NoMultiParamTypeClasses"
181183
"NoMultiWayIf"
184+
"NoMultilineStrings"
182185
"NoNPlusKPatterns"
186+
"NoNamedDefaults"
183187
"NoNamedFieldPuns"
184188
"NoNamedWildCards"
185189
"NoNegativeLiterals"
186190
"NoNondecreasingIndentation"
187191
"NoNullaryTypeClasses"
188192
"NoNumDecimals"
189193
"NoNumericUnderscores"
194+
"NoOrPatterns"
190195
"NoOverlappingInstances"
191196
"NoOverloadedLabels"
192197
"NoOverloadedLists"
@@ -249,6 +254,7 @@
249254
"NullaryTypeClasses"
250255
"NumDecimals"
251256
"NumericUnderscores"
257+
"OrPatterns"
252258
"OverlappingInstances"
253259
"OverloadedLabels"
254260
"OverloadedLists"
@@ -524,6 +530,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
524530
"-Werror=unused-record-wildcards"
525531
"-Werror=unused-top-binds"
526532
"-Werror=unused-type-patterns"
533+
"-Werror=view-pattern-signatures"
527534
"-Werror=warnings-deprecations"
528535
"-Werror=wrong-do-bind"
529536
"-Weverything"
@@ -720,6 +727,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
720727
"-Wno-error=unused-record-wildcards"
721728
"-Wno-error=unused-top-binds"
722729
"-Wno-error=unused-type-patterns"
730+
"-Wno-error=view-pattern-signatures"
723731
"-Wno-error=warnings-deprecations"
724732
"-Wno-error=wrong-do-bind"
725733
"-Wno-everything"
@@ -815,6 +823,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
815823
"-Wno-unused-record-wildcards"
816824
"-Wno-unused-top-binds"
817825
"-Wno-unused-type-patterns"
826+
"-Wno-view-pattern-signatures"
818827
"-Wno-warnings-deprecations"
819828
"-Wno-wrong-do-bind"
820829
"-Wnoncanonical-monad-instances"
@@ -864,6 +873,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
864873
"-Wunused-record-wildcards"
865874
"-Wunused-top-binds"
866875
"-Wunused-type-patterns"
876+
"-Wview-pattern-signatures"
867877
"-Wwarn"
868878
"-Wwarn=all"
869879
"-Wwarn=all-missed-specialisations"
@@ -984,6 +994,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
984994
"-Wwarn=unused-record-wildcards"
985995
"-Wwarn=unused-top-binds"
986996
"-Wwarn=unused-type-patterns"
997+
"-Wwarn=view-pattern-signatures"
987998
"-Wwarn=warnings-deprecations"
988999
"-Wwarn=wrong-do-bind"
9891000
"-Wwarnings-deprecations"
@@ -1065,7 +1076,9 @@ This list should be updated by running `haskell-update-ghc-support'.")
10651076
"-XMonomorphismRestriction"
10661077
"-XMultiParamTypeClasses"
10671078
"-XMultiWayIf"
1079+
"-XMultilineStrings"
10681080
"-XNPlusKPatterns"
1081+
"-XNamedDefaults"
10691082
"-XNamedFieldPuns"
10701083
"-XNamedWildCards"
10711084
"-XNegativeLiterals"
@@ -1142,14 +1155,17 @@ This list should be updated by running `haskell-update-ghc-support'.")
11421155
"-XNoMonomorphismRestriction"
11431156
"-XNoMultiParamTypeClasses"
11441157
"-XNoMultiWayIf"
1158+
"-XNoMultilineStrings"
11451159
"-XNoNPlusKPatterns"
1160+
"-XNoNamedDefaults"
11461161
"-XNoNamedFieldPuns"
11471162
"-XNoNamedWildCards"
11481163
"-XNoNegativeLiterals"
11491164
"-XNoNondecreasingIndentation"
11501165
"-XNoNullaryTypeClasses"
11511166
"-XNoNumDecimals"
11521167
"-XNoNumericUnderscores"
1168+
"-XNoOrPatterns"
11531169
"-XNoOverlappingInstances"
11541170
"-XNoOverloadedLabels"
11551171
"-XNoOverloadedLists"
@@ -1212,6 +1228,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
12121228
"-XNullaryTypeClasses"
12131229
"-XNumDecimals"
12141230
"-XNumericUnderscores"
1231+
"-XOrPatterns"
12151232
"-XOverlappingInstances"
12161233
"-XOverloadedLabels"
12171234
"-XOverloadedLists"
@@ -1537,6 +1554,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
15371554
"-fexitification"
15381555
"-fexpose-all-unfoldings"
15391556
"-fexpose-internal-symbols"
1557+
"-fexpose-overloaded-unfoldings"
15401558
"-fext-core"
15411559
"-fextended-default-rules"
15421560
"-fexternal-dynamic-refs"
@@ -1592,6 +1610,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
15921610
"-flocal-float-out-top-level"
15931611
"-floopification"
15941612
"-fmax-errors"
1613+
"-fmax-forced-spec-args"
15951614
"-fmax-inline-alloc-size"
15961615
"-fmax-inline-memcpy-insns"
15971616
"-fmax-inline-memset-insns"
@@ -1662,6 +1681,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
16621681
"-fno-exitification"
16631682
"-fno-expose-all-unfoldings"
16641683
"-fno-expose-internal-symbols"
1684+
"-fno-expose-overloaded-unfoldings"
16651685
"-fno-ext-core"
16661686
"-fno-extended-default-rules"
16671687
"-fno-external-dynamic-refs"
@@ -1716,6 +1736,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
17161736
"-fno-mono-pat-binds"
17171737
"-fno-monomorphism-restriction"
17181738
"-fno-num-constant-folding"
1739+
"-fno-object-determinism"
17191740
"-fno-omit-interface-pragmas"
17201741
"-fno-omit-yields"
17211742
"-fno-opt-coercion"
@@ -1855,6 +1876,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
18551876
"-fno-write-interface"
18561877
"-fnum-constant-folding"
18571878
"-fobject-code"
1879+
"-fobject-determinism"
18581880
"-fomit-interface-pragmas"
18591881
"-fomit-yields"
18601882
"-foptimal-applicative-do"
@@ -2023,6 +2045,7 @@ This list should be updated by running `haskell-update-ghc-support'.")
20232045
"-fworker-wrapper"
20242046
"-fworker-wrapper-cbv"
20252047
"-fwrite-ide-info"
2048+
"-fwrite-if-compression"
20262049
"-fwrite-if-simplified-core"
20272050
"-fwrite-interface"
20282051
"-g"
@@ -2100,7 +2123,9 @@ This list should be updated by running `haskell-update-ghc-support'.")
21002123
"-o"
21012124
"-odir"
21022125
"-ohi"
2126+
"-optCmmP"
21032127
"-optF"
2128+
"-optJSP"
21042129
"-optL"
21052130
"-optP"
21062131
"-opta"
@@ -2123,7 +2148,9 @@ This list should be updated by running `haskell-update-ghc-support'.")
21232148
"-package-key"
21242149
"-package-name"
21252150
"-parallel"
2151+
"-pgmCmmP"
21262152
"-pgmF"
2153+
"-pgmJSP"
21272154
"-pgmL"
21282155
"-pgmP"
21292156
"-pgma"

0 commit comments

Comments
 (0)