branch: elpa/haskell-mode commit 0c9c9cfc56bf9be658af4e84d1ee38d52671dad3 Author: amesgen <ames...@amesgen.de> Commit: amesgen <ames...@amesgen.de>
Add GHC 9.12.1 extensions and options --- haskell-ghc-support.el | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/haskell-ghc-support.el b/haskell-ghc-support.el index 3a72fc8246..3dabc5c536 100644 --- a/haskell-ghc-support.el +++ b/haskell-ghc-support.el @@ -103,7 +103,9 @@ "MonomorphismRestriction" "MultiParamTypeClasses" "MultiWayIf" + "MultilineStrings" "NPlusKPatterns" + "NamedDefaults" "NamedFieldPuns" "NamedWildCards" "NegativeLiterals" @@ -179,7 +181,9 @@ "NoMonomorphismRestriction" "NoMultiParamTypeClasses" "NoMultiWayIf" + "NoMultilineStrings" "NoNPlusKPatterns" + "NoNamedDefaults" "NoNamedFieldPuns" "NoNamedWildCards" "NoNegativeLiterals" @@ -187,6 +191,7 @@ "NoNullaryTypeClasses" "NoNumDecimals" "NoNumericUnderscores" + "NoOrPatterns" "NoOverlappingInstances" "NoOverloadedLabels" "NoOverloadedLists" @@ -249,6 +254,7 @@ "NullaryTypeClasses" "NumDecimals" "NumericUnderscores" + "OrPatterns" "OverlappingInstances" "OverloadedLabels" "OverloadedLists" @@ -524,6 +530,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-Werror=unused-record-wildcards" "-Werror=unused-top-binds" "-Werror=unused-type-patterns" + "-Werror=view-pattern-signatures" "-Werror=warnings-deprecations" "-Werror=wrong-do-bind" "-Weverything" @@ -720,6 +727,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-Wno-error=unused-record-wildcards" "-Wno-error=unused-top-binds" "-Wno-error=unused-type-patterns" + "-Wno-error=view-pattern-signatures" "-Wno-error=warnings-deprecations" "-Wno-error=wrong-do-bind" "-Wno-everything" @@ -815,6 +823,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-Wno-unused-record-wildcards" "-Wno-unused-top-binds" "-Wno-unused-type-patterns" + "-Wno-view-pattern-signatures" "-Wno-warnings-deprecations" "-Wno-wrong-do-bind" "-Wnoncanonical-monad-instances" @@ -864,6 +873,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-Wunused-record-wildcards" "-Wunused-top-binds" "-Wunused-type-patterns" + "-Wview-pattern-signatures" "-Wwarn" "-Wwarn=all" "-Wwarn=all-missed-specialisations" @@ -984,6 +994,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-Wwarn=unused-record-wildcards" "-Wwarn=unused-top-binds" "-Wwarn=unused-type-patterns" + "-Wwarn=view-pattern-signatures" "-Wwarn=warnings-deprecations" "-Wwarn=wrong-do-bind" "-Wwarnings-deprecations" @@ -1065,7 +1076,9 @@ This list should be updated by running `haskell-update-ghc-support'.") "-XMonomorphismRestriction" "-XMultiParamTypeClasses" "-XMultiWayIf" + "-XMultilineStrings" "-XNPlusKPatterns" + "-XNamedDefaults" "-XNamedFieldPuns" "-XNamedWildCards" "-XNegativeLiterals" @@ -1142,7 +1155,9 @@ This list should be updated by running `haskell-update-ghc-support'.") "-XNoMonomorphismRestriction" "-XNoMultiParamTypeClasses" "-XNoMultiWayIf" + "-XNoMultilineStrings" "-XNoNPlusKPatterns" + "-XNoNamedDefaults" "-XNoNamedFieldPuns" "-XNoNamedWildCards" "-XNoNegativeLiterals" @@ -1150,6 +1165,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-XNoNullaryTypeClasses" "-XNoNumDecimals" "-XNoNumericUnderscores" + "-XNoOrPatterns" "-XNoOverlappingInstances" "-XNoOverloadedLabels" "-XNoOverloadedLists" @@ -1212,6 +1228,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-XNullaryTypeClasses" "-XNumDecimals" "-XNumericUnderscores" + "-XOrPatterns" "-XOverlappingInstances" "-XOverloadedLabels" "-XOverloadedLists" @@ -1537,6 +1554,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-fexitification" "-fexpose-all-unfoldings" "-fexpose-internal-symbols" + "-fexpose-overloaded-unfoldings" "-fext-core" "-fextended-default-rules" "-fexternal-dynamic-refs" @@ -1592,6 +1610,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-flocal-float-out-top-level" "-floopification" "-fmax-errors" + "-fmax-forced-spec-args" "-fmax-inline-alloc-size" "-fmax-inline-memcpy-insns" "-fmax-inline-memset-insns" @@ -1662,6 +1681,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-fno-exitification" "-fno-expose-all-unfoldings" "-fno-expose-internal-symbols" + "-fno-expose-overloaded-unfoldings" "-fno-ext-core" "-fno-extended-default-rules" "-fno-external-dynamic-refs" @@ -1716,6 +1736,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-fno-mono-pat-binds" "-fno-monomorphism-restriction" "-fno-num-constant-folding" + "-fno-object-determinism" "-fno-omit-interface-pragmas" "-fno-omit-yields" "-fno-opt-coercion" @@ -1855,6 +1876,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-fno-write-interface" "-fnum-constant-folding" "-fobject-code" + "-fobject-determinism" "-fomit-interface-pragmas" "-fomit-yields" "-foptimal-applicative-do" @@ -2023,6 +2045,7 @@ This list should be updated by running `haskell-update-ghc-support'.") "-fworker-wrapper" "-fworker-wrapper-cbv" "-fwrite-ide-info" + "-fwrite-if-compression" "-fwrite-if-simplified-core" "-fwrite-interface" "-g" @@ -2100,7 +2123,9 @@ This list should be updated by running `haskell-update-ghc-support'.") "-o" "-odir" "-ohi" + "-optCmmP" "-optF" + "-optJSP" "-optL" "-optP" "-opta" @@ -2123,7 +2148,9 @@ This list should be updated by running `haskell-update-ghc-support'.") "-package-key" "-package-name" "-parallel" + "-pgmCmmP" "-pgmF" + "-pgmJSP" "-pgmL" "-pgmP" "-pgma"