home | help
GHC(1)			    Glasgow Haskell Compiler			  GHC(1)

NAME
     ghc - the Glasgow Haskell Compiler

SYNOPSIS
	ghc [option|filename]
	ghci [option|filename]

DESCRIPTION
     This  manual  page  documents  briefly the ghc and ghci commands. Note that
     ghci is not yet available on all architectures. Extensive documentation  is
     available in various other formats including PDF <https://downloads.haskell
     .org/ghc/latest/docs/users_guide.pdf>  and  HTML <https://downloads.haskell
     .org/ghc/latest/docs/html/>.

     Each of GHC's command line options is classified as either  static  or  dy-
     namic.  A	static flag may only be specified on the command line, whereas a
     dynamic flag may also be given in an OPTIONS pragma in a source file or set
     from the GHCi command-line with :set .

     As a rule of thumb, all the language options are dynamic, as are the  warn-
     ing options and the debugging options.

     The  rest	are  static,  with  the  notable  exceptions of -v, -cpp, -fasm,
     -fvia-C, -fllvm, and -#include.  The OPTIONS sections lists the  status  of
     each flag.

     Common suffixes of file names for Haskell are:

     .hs    Haskell source code; preprocess, compile

     .lhs   literate Haskell source; unlit, preprocess, compile

     .hi    Interface file; contains information about exported symbols

     .hc    intermediate C files

     .^a"way^a(C)_o
	    object files for "way" a"waya(C); common ways are:

	    dyn    dynamically-linked

	    p	   built with profiling

     .^a"way^a(C)_hi
	    interface files for "way" a"waya(C); common ways are:

OPTIONS
     Code generation
	    -dynamic-too  -fasm  -fllvm  -fbyte-code -fbyte-code-and-object-code
	    -fexpose-internal-symbols	-fexternal-dynamic-refs   -fllvm   -fasm
	    -fno-code	  -fobject-code     -fPIC    -fPIE    -fprefer-byte-code
	    -fwrite-if-simplified-core -fwrite-interface

     Debugging the compiler
	    -dasm-lint	-dcmm-lint  -dcore-lint  -ddisable-js-c-sources   -ddis-
	    able-js-minifier -ddump-asm -ddump-asm-conflicts -ddump-asm-liveness
	    -ddump-asm-native	-ddump-asm-regalloc   -ddump-asm-regalloc-stages
	    -ddump-asm-stats  -ddump-bcos   -ddump-c-backend   -ddump-call-arity
	    -ddump-cfg-weights	  -ddump-cmm	-ddump-cmm-caf	  -ddump-cmm-cbe
	    -ddump-cmm-cfg  -ddump-cmm-cps  -ddump-cmm-from-stg  -ddump-cmm-info
	    -ddump-cmm-opt   -ddump-cmm-proc  -ddump-cmm-procmap  -ddump-cmm-raw
	    -ddump-cmm-sink  -ddump-cmm-sp  -ddump-cmm-split   -ddump-cmm-switch
	    -ddump-cmm-thread-sanitizer    -ddump-cmm-verbose	 -ddump-cmm-ver-
	    bose-by-proc -ddump-core-stats -ddump-cpr-signatures  -ddump-cpranal
	    -ddump-cs-trace -ddump-cse -ddump-debug -ddump-deriv -ddump-dmd-sig-
	    natures  -ddump-dmdanal  -ddump-ds	-ddump-ds-preopt -ddump-ec-trace
	    -ddump-exitify    -ddump-faststrings    -ddump-file-prefix=^a"str^a(C)
	    -ddump-float-in -ddump-foreign -ddump-full-laziness -ddump-float-out
	    -ddump-hie	-ddump-hpc  -ddump-if-trace  -ddump-inlinings  -ddump-js
	    -ddump-json    -ddump-late-cc    -ddump-liberate-case    -ddump-llvm
	    -ddump-mod-map    -ddump-occur-anal   -ddump-opt-cmm   -ddump-parsed
	    -ddump-parsed-ast	   -ddump-prep	    -ddump-rn	   -ddump-rn-ast
	    -ddump-rn-stats   -ddump-rn-trace	-ddump-rtti  -ddump-rule-firings
	    -ddump-rule-rewrites -ddump-rules  -ddump-simpl  -ddump-simpl-itera-
	    tions      -ddump-simpl-stats     -ddump-simpl-trace     -ddump-spec
	    -ddump-spec-constr -ddump-splices -ddump-static-argument-transforma-
	    tion -ddump-stg -ddump-stg-cg -ddump-stg-final  -ddump-stg-from-core
	    -ddump-stg-tags	  -ddump-stg-unarised	   -ddump-str-signatures
	    -ddump-stranal -ddump-tc -ddump-tc-ast -ddump-tc-trace -ddump-ticked
	    -ddump-timings -ddump-to-file -ddump-types	-ddump-verbose-inlinings
	    -ddump-view-pattern-commoning      -ddump-worker-wrapper	 -dfast-
	    string-stats  -dhex-word-literals	-dinitial-unique=^a"s^a(C)   -din-
	    line-check=^a"str^a(C)  -dipe-stats -dkeep-comments -dlinear-core-lint
	    -dlint    -dno-debug-output    -ddebug-output    -dno-typeable-binds
	    -dppr-case-as-let  -dppr-cols=^a"n^a(C)  -dppr-debug -dppr-user-length
	    -drule-check=^a"str^a(C)   -dshow-passes   -dstg-lint   -dsuppress-all
	    -dsuppress-coercion-types -dsuppress-coercions -dsuppress-core-sizes
	    -dsuppress-idinfo	       -dsuppress-module-prefixes	  -dsup-
	    press-stg-free-vars  -dsuppress-stg-reps   -dsuppress-ticks   -dsup-
	    press-timestamps -dsuppress-type-applications -dsuppress-type-signa-
	    tures  -dsuppress-unfoldings -dsuppress-uniques -dsuppress-var-kinds
	    -dtag-inference-checks   -dth-dec-file    -dunique-increment=^a"i^a(C)
	    -dverbose-core2core 	-dverbose-stg2stg	  -fadd-bco-name
	    -fno-add-bco-name	 -falignment-sanitisation     -fcatch-nonexhaus-
	    tive-cases	  -fcheck-prim-bounds	 -fcmm-thread-sanitizer   -fdis-
	    tinct-constructor-tables	  -fdump-with-ways	-finfo-table-map
	    -finfo-table-map-with-fallback     -fno-info-table-map-with-fallback
	    -finfo-table-map-with-stack 	  -fno-info-table-map-with-stack
	    -fllvm-fill-undef-with-garbage     -fno-info-table-map-with-fallback
	    -finfo-table-map-with-fallback	  -fno-info-table-map-with-stack
	    -finfo-table-map-with-stack    -forig-thunk-info	-fproc-alignment
	    -funoptimized-core-for-interpreter	-fno-unoptimized-core-for-inter-
	    preter -g -g^a"n^a(C)

     C pre-processor
	    -cpp    -D^a"symbol^a(C)[=^a"value^a(C)]    -U^a"symbol^a(C)   -I^a"dir^a(C)
	    -U^a"symbol^a(C)

     Finding imports
	    -i -i^a"dir^a(C)[:^a"dir^a(C)]*

     Interactive mode
	    -fbreak-on-error	  -fno-break-on-error	    -fbreak-on-exception
	    -fno-break-on-exception	  -fbreak-points       -fno-break-points
	    -fghci-hist-size=^a"n^a(C)   -fghci-leak-check    -fno-ghci-leak-check
	    -fimplicit-import-qualified   -fno-implicit-import-qualified   -flo-
	    cal-ghci-history	-fno-local-ghci-history    -fno-it    -fno-no-it
	    -fprint-bind-result   -fno-print-bind-result  -fprint-evld-with-show
	    -fshow-loaded-modules    -ghci-script    -ignore-dot-ghci	 -no-ig-
	    nore-dot-ghci -interactive-print ^a"name^a(C)

     Interface files
	    --show-iface ^a"file^a(C) -ddump-hi -ddump-hi-diffs -ddump-minimal-im-
	    ports

     Keeping intermediate files
	    -keep-hc-file    -keep-hc-files   -keep-hi-files   -no-keep-hi-files
	    -keep-hscpp-file -keep-hscpp-files -keep-llvm-file	-keep-llvm-files
	    -keep-o-files     -no-keep-o-files	   -keep-s-file    -keep-s-files
	    -keep-tmp-files

     Language options
	    -XAllowAmbiguousTypes -XApplicativeDo -XArrows -XBangPatterns  -XBi-
	    naryLiterals  -XBlockArguments  -XCApiFFI  -XConstrainedClassMethods
	    -XConstraintKinds  -XCPP  -XCUSKs	-XDataKinds   -XDatatypeContexts
	    -XDeepSubsumption	-XDefaultSignatures  -XDeriveAnyClass  -XDerive-
	    DataTypeable   -XDeriveFoldable   -XDeriveFunctor	 -XDeriveGeneric
	    -XDeriveLift  -XDeriveTraversable -XDerivingStrategies -XDerivingVia
	    -XDisambiguateRecordFields	  -XDuplicateRecordFields    -XEmptyCase
	    -XEmptyDataDecls   -XEmptyDataDeriving   -XExistentialQuantification
	    -XExplicitForAll -XExplicitNamespaces  -XExtendedDefaultRules  -XEx-
	    tendedLiterals   -XFieldSelectors  -XFlexibleContexts  -XFlexibleIn-
	    stances -XForeignFunctionInterface -XFunctionalDependencies  -XGADTs
	    -XGADTSyntax -XGeneralisedNewtypeDeriving -XGeneralizedNewtypeDeriv-
	    ing   -XGHC2021   -XGHC2024   -XGHCForeignImportPrim   -XHaskell2010
	    -XHaskell98  -XHexFloatLiterals  -XImplicitParams  -XImplicitPrelude
	    -XImportQualifiedPost   -XImpredicativeTypes   -XIncoherentInstances
	    -XInstanceSigs  -XInterruptibleFFI	 -XKindSignatures   -XLambdaCase
	    -XLexicalNegation	 -XLiberalTypeSynonyms	 -XLinearTypes	 -XList-
	    TuplePuns	-XMagicHash    -XMonadComprehensions	-XMonoLocalBinds
	    -XMonomorphismRestriction -XMultilineStrings -XMultiParamTypeClasses
	    -XMultiWayIf   -XNamedDefaults   -XNamedFieldPuns	-XNamedWildCards
	    -XNegativeLiterals	  -XNondecreasingIndentation	-XNPlusKPatterns
	    -XNullaryTypeClasses -XNumDecimals -XNumericUnderscores -XOrPatterns
	    -XOverlappingInstances  -XOverloadedLabels -XOverloadedLists -XOver-
	    loadedRecordDot -XOverloadedRecordUpdate -XOverloadedStrings -XPack-
	    ageImports	-XParallelListComp  -XPartialTypeSignatures   -XPattern-
	    Guards  -XPatternSynonyms  -XPolyKinds  -XPostfixOperators	-XQuali-
	    fiedDo -XQuantifiedConstraints -XQuasiQuotes  -XRank2Types	-XRankN-
	    Types -XRebindableSyntax -XRecordWildCards -XRecursiveDo -XRequired-
	    TypeArguments  -XRoleAnnotations  -XSafe  -XScopedTypeVariables -XS-
	    tandaloneDeriving -XStandaloneKindSignatures -XStarIsType  -XStatic-
	    Pointers  -XStrict	-XStrictData -XTemplateHaskell -XTemplateHaskel-
	    lQuotes -XTraditionalRecordSyntax -XTransformListComp  -XTrustworthy
	    -XTupleSections   -XTypeAbstractions  -XTypeApplications  -XTypeData
	    -XTypeFamilies -XTypeFamilyDependencies -XTypeInType -XTypeOperators
	    -XTypeSynonymInstances -XUnboxedSums -XUnboxedTuples  -XUndecidable-
	    Instances	-XUndecidableSuperClasses   -XUnicodeSyntax  -XUnlifted-
	    Datatypes -XUnliftedFFITypes -XUnliftedNewtypes -XUnsafe  -XViewPat-
	    terns

     Linking options
	    -c -debug -dylib-install-name ^a"path^a(C) -dynamic -dynload -eventlog
	    -fcompact-unwind	-fkeep-cafs    -flink-rts    -fno-embed-manifest
	    -fno-gen-manifest -fno-shared-implib -framework  ^a"name^a(C)  -frame-
	    work-path ^a"dir^a(C) -fsplit-sections -split-sections -fno-split-sec-
	    tions -fuse-rpaths -fwhole-archive-hs-libs -L ^a"dir^a(C) -l ^a"lib^a(C)
	    -main-is  ^a"thing^a(C)  -no-hs-main	-no-pie -pie -no-rtsopts-sugges-
	    tions   -package   ^a"name^a(C)   -pie    -no-pie    -rdynamic    -rt-
	    sopts[=^a"none|some|all|ignore|ignoreAll^a(C)]      -shared	   -sin-
	    gle-threaded -threaded -static -staticlib -threaded -single-threaded
	    -with-rtsopts=^a"opts^a(C)

     Miscellaneous options
	    -ddump-mod-cycles	   -fdefer-out-of-scope-variables	-fno-de-
	    fer-out-of-scope-variables	-fdefer-type-errors  -fno-defer-type-er-
	    rors  -fdefer-typed-holes  -fno-defer-typed-holes  -fexternal-inter-
	    preter    -ffamily-application-cache   -fno-family-application-cache
	    -fglasgow-exts -fno-glasgow-exts -fno-safe-haskell	-ghcversion-file
	    ^a"path  to	ghcversion.h^a(C)  -H  ^a"size^a(C) -hidden-module ^a"module
	    name^a(C) -j[^a"n^a(C)]  -jsem  -reexported-module  ^a"reexport-spec^a(C)
	    -this-package-name	^a"unit-id^a(C) -unit @^a"filename^a(C) -working-dir
	    ^a"dir^a(C)

     Modes of operation
	    --frontend ^a"module^a(C) --help -? --info --interactive --make  --nu-
	    meric-version      --print-booter-version	  --print-build-platform
	    --print-c-compiler-flags  --print-c-compiler-link-flags  --print-de-
	    bug-on	 --print-global-package-db	--print-have-interpreter
	    --print-have-native-code-generator		   --print-host-platform
	    --print-ld-flags	  --print-leading-underscore	  --print-libdir
	    --print-object-splitting-supported	   --print-project-git-commit-id
	    --print-project-version  --print-rts-ways --print-stage --print-sup-
	    port-smp	 --print-tables-next-to-code	 --print-target-platform
	    --print-unregisterised   --run  ^a"file^a(C)	--show-iface  ^a"file^a(C)
	    --show-options --supported-extensions  --supported-languages  --ver-
	    sion -V -e ^a"expr^a(C) -M -shared

     Individual optimizations
	    -fasm-shortcutting	  -fno-asm-shortcutting    -fbinary-blob-thresh-
	    old=^a"n^a(C)  -fblock-layout-cfg  -fno-block-layout-cfg  -fblock-lay-
	    out-weightless  -fno-block-layout-weightless  -fblock-layout-weights
	    -fcall-arity   -fno-call-arity   -fcase-folding    -fno-case-folding
	    -fcase-merge    -fno-case-merge   -fcmm-control-flow   -fno-cmm-con-
	    trol-flow	 -fcmm-elim-common-blocks    -fno-cmm-elim-common-blocks
	    -fcmm-sink	 -fno-cmm-sink	 -fcmm-static-pred  -fno-cmm-static-pred
	    -fcore-constant-folding    -fno-core-constant-folding     -fcpr-anal
	    -fno-cpr-anal -fcross-module-specialise -fno-cross-module-specialise
	    -fcse   -fno-cse   -fdicts-cheap   -fno-dicts-cheap   -fdicts-strict
	    -fno-dicts-strict -fdmd-tx-dict-sel  -fno-dmd-tx-dict-sel  -fdmd-un-
	    box-width=^a"n^a(C)			   -fdo-clever-arg-eta-expansion
	    -fno-do-clever-arg-eta-expansion -fdo-eta-reduction  -fno-do-eta-re-
	    duction -fdo-lambda-eta-expansion -fno-do-lambda-eta-expansion -fea-
	    ger-blackholing   -fenable-rewrite-rules   -fno-enable-rewrite-rules
	    -fexcess-precision -fno-excess-precision -fexitification -fno-exiti-
	    fication  -fexpose-all-unfoldings  -fno-expose-all-unfoldings  -fex-
	    pose-overloaded-unfoldings	       -fno-expose-overloaded-unfoldings
	    -ffloat-in	  -fno-float-in    -ffull-laziness    -fno-full-laziness
	    -ffun-to-thunk  -fno-fun-to-thunk  -fignore-asserts  -fno-ignore-as-
	    serts -fignore-interface-pragmas -fno-ignore-interface-pragmas -fin-
	    line-generics  -fno-inline-generics   -finline-generics-aggressively
	    -fno-inline-generics-aggressively  -finter-module-far-jumps -fno-in-
	    ter-module-far-jumps     -fkeep-auto-rules	    -fno-keep-auto-rules
	    -flate-dmd-anal  -fno-late-dmd-anal -flate-specialise -fno-late-spe-
	    cialise -fliberate-case  -fno-liberate-case  -fliberate-case-thresh-
	    old=^a"n^a(C) -fno-liberate-case-threshold -fllvm-pass-vectors-in-regs
	    -flocal-float-out  -fno-local-float-out  -flocal-float-out-top-level
	    -fno-local-float-out-top-level  -floopification   -fno-loopification
	    -fmax-forced-spec-args=^a"n^a(C)	 -fmax-inline-alloc-size=^a"n^a(C)
	    -fmax-inline-memcpy-insns=^a"n^a(C)  -fmax-inline-memset-insns=^a"n^a(C)
	    -fmax-simplifier-iterations=^a"n^a(C) -fmax-uncovered-patterns=^a"n^a(C)
	    -fmax-worker-args=^a"n^a(C)	  -fno-opt-coercion    -fno-pre-inlining
	    -fno-state-hack	-fobject-determinism	 -fno-object-determinism
	    -fomit-interface-pragmas  -fno-omit-interface-pragmas  -fomit-yields
	    -fno-omit-yields   -foptimal-applicative-do    -fno-optimal-applica-
	    tive-do  -fpedantic-bottoms -fno-pedantic-bottoms -fpolymorphic-spe-
	    cialisation       -fno-polymorphic-specialisation	    -fregs-graph
	    -fno-regs-graph	    -fregs-iterative	     -fno-regs-iterative
	    -fsimpl-tick-factor=^a"n^a(C) -fsimplifier-phases=^a"n^a(C) -fsolve-con-
	    stant-dicts -fno-solve-constant-dicts -fspec-constr -fno-spec-constr
	    -fspec-constr-count=^a"n^a(C)    -fno-spec-constr-count    -fspec-con-
	    str-keen	-fno-spec-constr-keen	 -fspec-constr-threshold=^a"n^a(C)
	    -fno-spec-constr-threshold	      -fspec-eval	  -fno-spec-eval
	    -fspec-eval-dictfun  -fno-spec-eval-dictfun  -fspecialise  -fno-spe-
	    cialise    -fspecialise-aggressively    -fno-specialise-aggressively
	    -fspecialise-incoherents  -fno-specialise-incoherents -fstatic-argu-
	    ment-transformation  -fno-static-argument-transformation   -fstg-cse
	    -fno-stg-cse	    -fstg-lift-lams	      -fno-stg-lift-lams
	    -fstg-lift-lams-known			-fno-stg-lift-lams-known
	    -fstg-lift-lams-non-rec-args	-fstg-lift-lams-non-rec-args-any
	    -fstg-lift-lams-rec-args  -fstg-lift-lams-rec-args-any  -fstrictness
	    -fno-strictness	      -fstrictness-before=^a"n^a(C)	   -fun-
	    box-small-strict-fields	-fno-unbox-small-strict-fields	   -fun-
	    box-strict-fields	-fno-unbox-strict-fields  -funfolding-case-scal-
	    ing=^a"n^a(C)   -funfolding-case-threshold=^a"n^a(C)	-funfolding-cre-
	    ation-threshold=^a"n^a(C)  -funfolding-dict-discount=^a"n^a(C) -funfold-
	    ing-fun-discount=^a"n^a(C)  -funfolding-keeness-factor=^a"n^a(C)   -fun-
	    folding-use-threshold=^a"n^a(C)  -fworker-wrapper -fworker-wrapper-cbv
	    -fwrite-if-compression=^a"n^a(C)

     Optimization levels
	    -O -O1 -O0 -O0 -O2 -O0 -O^a"n^a(C) -O0

     Package options
	    -clear-package-db -distrust ^a"pkg^a(C) -distrust-all-packages -fpack-
	    age-trust	-global-package-db   -hide-all-packages    -hide-package
	    ^a"pkg^a(C)	  -ignore-package    ^a"pkg^a(C)	  -no-auto-link-packages
	    -no-global-package-db -no-user-package-db -package ^a"pkg^a(C)  -pack-
	    age-db  ^a"file^a(C)	-package-env  ^a"file^a(C)|^a"name^a(C)  -package-id
	    ^a"unit-id^a(C)   -this-unit-id   ^a"unit-id^a(C)    -trust    ^a"pkg^a(C)
	    -user-package-db

     Phases of compilation
	    --merge-objs -C -c -E -F -S -x ^a"suffix^a(C)

     Overriding external programs
	    -pgma ^a"cmd^a(C) -pgmc ^a"cmd^a(C) -pgmCmmP ^a"cmd^a(C) -pgmcxx ^a"cmd^a(C)
	    -pgmF ^a"cmd^a(C) -pgmi ^a"cmd^a(C) -pgminstall_name_tool ^a"cmd^a(C) -pg-
	    mJSP  ^a"cmd^a(C)  -pgmL  ^a"cmd^a(C)  -pgml ^a"cmd^a(C) -pgmlas ^a"cmd^a(C)
	    -pgmlc  ^a"cmd^a(C)  -pgmlm  ^a"cmd^a(C)  -pgmlo   ^a"cmd^a(C)   -pgmotool
	    ^a"cmd^a(C) -pgmP ^a"cmd^a(C) -pgms ^a"cmd^a(C) -pgmwindres ^a"cmd^a(C)

     Phase-specific options
	    -opta  ^a"option^a(C) -optc ^a"option^a(C) -optCmmP ^a"option^a(C) -optcxx
	    ^a"option^a(C) -optF ^a"option^a(C)  -opti  ^a"option^a(C)  -optJSP  ^a"op-
	    tion^a(C)  -optL ^a"option^a(C) -optl ^a"option^a(C) -optlas ^a"option^a(C)
	    -optlc ^a"option^a(C) -optlm ^a"option^a(C)  -optlo  ^a"option^a(C)  -optP
	    ^a"option^a(C)    -optwindres    ^a"option^a(C)    -pgmc-supports-no-pie
	    -pgml-supports-no-pie

     Platform-specific options
	    -mavx -mavx2 -mavx512cd -mavx512er -mavx512f -mavx512pf -mbmi -mbmi2
	    -mfma -msse -msse2 -msse3 -msse4 -msse4.2

     Compiler plugins
	    -fclear-plugins					    -fplugin-li-
	    brary=^a"file-path^a(C);^a"unit-id^a(C);^a"module^a(C);^a"args^a(C)   -fplu-
	    gin-opt=^a"module^a(C):^a"args^a(C) -fplugin-trustworthy -fplugin=^a"mod-
	    ule^a(C) -hide-all-plugin-packages  -plugin-package	^a"pkg^a(C)  -plu-
	    gin-package-id ^a"pkg-id^a(C)

     Profiling
	    -auto  -auto-all  -caf-all	-fno-prof-count-entries -fprof-count-en-
	    tries -fprof-auto  -fno-prof-auto  -fprof-auto-calls  -fno-prof-auto
	    -fprof-auto-exported  -fno-prof-auto  -fprof-auto-top -fno-prof-auto
	    -fprof-cafs  -fno-prof-cafs  -fprof-callers=^a"name^a(C)   -fprof-late
	    -fno-prof-late	  -fprof-late-inline	   -fno-prof-late-inline
	    -fprof-late-overloaded  -fno-prof-late-overloaded  -fprof-late-over-
	    loaded-calls      -fno-prof-late-overloaded-calls	   -fprof-manual
	    -fno-prof-manual  -no-auto	-no-auto-all  -no-caf-all  -prof  -ticky
	    -ticky-allocd     -ticky-ap-thunk	  -ticky-dyn-thunk    -ticky-LNE
	    -ticky-tag-checks

     Program coverage
	    -fhpc -hpcdir^a"dir^a(C)

     Recompilation checking
	    -exclude-module=^a"file^a(C)	-fforce-recomp	-fno-force-recomp  -fig-
	    nore-hpc-changes	-fno-ignore-hpc-changes   -fignore-optim-changes
	    -fno-ignore-optim-changes -include-cpp-deps -include-pkg-deps

     Redirecting output
	    -dep-makefile ^a"file^a(C) -dep-suffix ^a"suffix^a(C) -dumpdir ^a"dir^a(C)
	    -dynhisuf ^a"suffix^a(C) -dyno ^a"file^a(C) -dynohi ^a"file^a(C)	-dynosuf
	    ^a"suffix^a(C)  -hcsuf ^a"suffix^a(C) -hidir ^a"dir^a(C) -hiedir ^a"dir^a(C)
	    -hiesuf  ^a"suffix^a(C)  -hisuf  ^a"suffix^a(C)  -o   ^a"file^a(C)   -odir
	    ^a"dir^a(C)  -ohi  ^a"file^a(C)  -osuf ^a"suffix^a(C) -outputdir ^a"dir^a(C)
	    -stubdir ^a"dir^a(C)

     Temporary files
	    -tmpdir ^a"dir^a(C)

     Verbosity options
	    -fabstract-refinement-hole-fits   -fno-abstract-refinement-hole-fits
	    -fdefer-diagnostics  -fdiagnostics-as-json -fdiagnostics-color=^a"al-
	    ways|auto|never^a(C)      -fdiagnostics-show-caret	   -fno-diagnos-
	    tics-show-caret   -ferror-spans   -fhide-source-paths   -fkeep-going
	    -fmax-refinement-hole-fits=^a"n^a(C)	   -fno-max-refinement-hole-fits
	    -fmax-relevant-binds=^a"n^a(C)		 -fno-max-relevant-binds
	    -fmax-valid-hole-fits=^a"n^a(C)		-fno-max-valid-hole-fits
	    -fno-show-valid-hole-fits		       -fno-sort-valid-hole-fits
	    -fsort-valid-hole-fits  -fprint-axiom-incomps   -fno-print-axiom-in-
	    comps    -fprint-equality-relations    -fno-print-equality-relations
	    -fprint-error-index-links=^a"always|auto|never^a(C)	     -fprint-ex-
	    panded-synonyms  -fno-print-expanded-synonyms -fprint-explicit-coer-
	    cions     -fno-print-explicit-coercions	-fprint-explicit-foralls
	    -fno-print-explicit-foralls   -fprint-explicit-kinds  -fno-print-ex-
	    plicit-kinds -fprint-explicit-runtime-reps	-fno-print-explicit-run-
	    time-reps -fprint-potential-instances -fno-print-potential-instances
	    -fprint-redundant-promotion-ticks	     -fno-print-redundant-promo-
	    tion-ticks	   -fprint-typechecker-elaboration	-fno-print-type-
	    checker-elaboration -fprint-unicode-syntax -fno-print-unicode-syntax
	    -frefinement-level-hole-fits=^a"n^a(C) -fno-refinement-level-hole-fits
	    -freverse-errors	 -fno-reverse-errors	-fshow-docs-of-hole-fits
	    -fno-show-docs-of-hole-fits    -fshow-error-context    -fno-show-er-
	    ror-context -fshow-hole-constraints -fshow-hole-matches-of-hole-fits
	    -fno-show-hole-matches-of-hole-fits   -fshow-provenance-of-hole-fits
	    -fno-show-provenance-of-hole-fits	    -fshow-type-app-of-hole-fits
	    -fno-show-type-app-of-hole-fits    -fshow-type-app-vars-of-hole-fits
	    -fno-show-type-app-vars-of-hole-fits	-fshow-type-of-hole-fits
	    -fno-show-type-of-hole-fits 		-fsort-by-size-hole-fits
	    -fno-sort-by-size-hole-fits 	 -fsort-by-subsumption-hole-fits
	    -fno-sort-by-subsumption-hole-fits	     -funclutter-valid-hole-fits
	    -Rghc-timing -v -v^a"n^a(C)

     Warnings
	    -fenable-th-splice-warnings  -fno-enable-th-splice-warnings  -fhelp-
	    ful-errors	    -fno-helpful-errors     -fmax-pmcheck-models=^a"n^a(C)
	    -fshow-warning-groups -fno-show-warning-groups -fvia-C -W -Wno-extra
	    -w -Wall -Wno-all -Wall-missed-specialisations  -Wno-all-missed-spe-
	    cialisations  -Wall-missed-specializations	-Wno-all-missed-special-
	    izations  -Wambiguous-fields   -Wauto-orphans   -Wbadly-staged-types
	    -Wno-badly-staged-types   -Wcompat	 -Wno-compat   -Wcompat-unquali-
	    fied-imports       -Wno-compat-unqualified-imports	     -Wcpp-undef
	    -Wdata-kinds-tc   -Wno-data-kinds-tc  -Wdefault  -Wno-default  -Wde-
	    faulted-exception-context  -Wnop-defaulted-exception-context   -Wde-
	    ferred-out-of-scope-variables   -Wno-deferred-out-of-scope-variables
	    -Wdeferred-type-errors -Wno-deferred-type-errors  -Wdeprecated-flags
	    -Wno-deprecated-flags   -Wdeprecated-type-abstractions   -Wno-depre-
	    cated-type-abstractions  -Wdeprecations  -Wno-deprecations	-Wderiv-
	    ing-defaults  -Wno-deriving-defaults -Wderiving-typeable -Wno-deriv-
	    ing-typeable -Wdodgy-exports -Wno-dodgy-exports  -Wdodgy-foreign-im-
	    ports  -Wno-dodgy-foreign-imports -Wdodgy-imports -Wno-dodgy-imports
	    -Wduplicate-constraints  -Wno-duplicate-constraints  -Wduplicate-ex-
	    ports -Wno-duplicate-exports -Wempty-enumerations -Wno-empty-enumer-
	    ations  -Werror  -Wwarn -Weverything -w -Wextended-warnings -Wno-ex-
	    tended-warnings	-Wextra      -Wno-extra      -Wforall-identifier
	    -Wgadt-mono-local-binds   -Wno-gadt-mono-local-binds  -Whi-shadowing
	    -Wno-hi-shadowing -Widentities -Wno-identities  -Wimplicit-kind-vars
	    -Wno-implicit-kind-vars   -Wimplicit-lift  -Wno-implicit-lift  -Wim-
	    plicit-prelude  -Wno-implicit-prelude  -Wimplicit-rhs-quantification
	    -Wno-implicit-rhs-quantification -Winaccessible-code -Wno-inaccessi-
	    ble-code  -Wincomplete-export-warnings  -Wno-incomplete-export-warn-
	    ings   -Wincomplete-patterns    -Wno-incomplete-patterns	-Wincom-
	    plete-record-selectors   -Wno-incomplete-record-selectors	-Wincom-
	    plete-record-updates     -Wno-incomplete-record-updates	-Wincom-
	    plete-uni-patterns -Wno-incomplete-uni-patterns -Winconsistent-flags
	    -Wno-inconsistent-flags	  -Winferred-safe-imports	-Wno-in-
	    ferred-safe-imports -Winline-rule-shadowing -Wno-inline-rule-shadow-
	    ing -Winvalid-haddock -Wno-invalid-haddock	-Wloopy-superclass-solve
	    -Wno-loopy-superclass-solve -Wmisplaced-pragmas -Wno-misplaced-prag-
	    mas      -Wmissed-extra-shared-lib	    -Wno-missed-extra-shared-lib
	    -Wmissed-specialisations  -Wno-missed-specialisations  -Wmissed-spe-
	    cializations  -Wno-missed-specializations -Wmissing-deriving-strate-
	    gies     -Wno-missing-deriving-strategies	  -Wmissing-export-lists
	    -Wno-missing-export-lists  -Wmissing-exported-pattern-synonym-signa-
	    tures -Wno-missing-exported-pattern-synonym-signatures -Wmissing-ex-
	    ported-signatures	-Wno-missing-exported-signatures   -Wmissing-ex-
	    ported-sigs  -Wno-missing-exported-sigs  -Wmissing-fields -Wno-miss-
	    ing-fields -Wmissing-home-modules -Wno-missing-home-modules  -Wmiss-
	    ing-import-lists -Wno-missing-import-lists -Wmissing-kind-signatures
	    -Wno-missing-kind-signatures  -Wmissing-local-signatures  -Wno-miss-
	    ing-local-signatures  -Wmissing-local-sigs	 -Wno-missing-local-sigs
	    -Wmissing-methods -Wno-missing-methods -Wmissing-monadfail-instances
	    -Wno-missing-monadfail-instances	-Wmissing-pattern-synonym-signa-
	    tures	 -Wno-missing-pattern-synonym-signatures	 -Wmiss-
	    ing-poly-kind-signatures  -Wno-missing-poly-kind-signatures  -Wmiss-
	    ing-role-annotations    -Wno-role-annotations-signatures	 -Wmiss-
	    ing-safe-haskell-mode  -Wno-missing-safe-haskell-mode -Wmissing-sig-
	    natures	 -Wno-missing-signatures      -Wmissing-space-after-bang
	    -Wmonomorphism-restriction		   -Wno-monomorphism-restriction
	    -Wname-shadowing -Wno-name-shadowing  -Wnoncanonical-monad-instances
	    -Wno-noncanonical-monad-instances -Wnoncanonical-monadfail-instances
	    -Wno-noncanonical-monadfail-instances      -Wnoncanonical-monoid-in-
	    stances -Wno-noncanonical-monoid-instances	-Wnot  -Woperator-white-
	    space   -Wno-operator-whitespace  -Woperator-whitespace-ext-conflict
	    -Wno-operator-whitespace-ext-conflict -Worphans -Wno-orphans -Wover-
	    flowed-literals   -Wno-overflowed-literals	  -Woverlapping-patterns
	    -Wno-overlapping-patterns	 -Wpartial-fields    -Wno-partial-fields
	    -Wpartial-type-signatures  -Wno-partial-type-signatures   -Wpreposi-
	    tive-qualified-module   -Wno-prepositive-qualified-module	-Wredun-
	    dant-bang-patterns	 -Wno-redundant-bang-patterns	-Wredundant-con-
	    straints   -Wno-redundant-constraints   -Wredundant-record-wildcards
	    -Wno-redundant-record-wildcards	    -Wredundant-strictness-flags
	    -Wno-redundant-strictness-flags    -Wsafe	 -Wno-safe   -Wsemigroup
	    -Wno-semigroup    -Wsimplifiable-class-constraints	  -Wno-simplifi-
	    able-class-constraints -Wstar-binder -Wno-star-binder -Wstar-is-type
	    -Wno-star-is-type  -Wtabs -Wno-tabs -Wterm-variable-capture -Wtrust-
	    worthy-safe     -Wno-safe	  -Wtype-defaults     -Wno-type-defaults
	    -Wtype-equality-out-of-scope	 -Wno-type-equality-out-of-scope
	    -Wtype-equality-requires-operators -Wno-type-equality-requires-oper-
	    ators  -Wtyped-holes   -Wno-typed-holes   -Wunbanged-strict-patterns
	    -Wno-unbanged-strict-patterns -Wunicode-bidirectional-format-charac-
	    ters   -Wunrecognised-pragmas  -Wno-unrecognised-pragmas  -Wunrecog-
	    nised-warning-flags     -Wno-unrecognised-warning-flags	-Wunsafe
	    -Wno-unsafe -Wunsupported-calling-conventions -Wno-unsupported-call-
	    ing-conventions	   -Wunsupported-llvm-version	     -Wno-unsup-
	    ported-llvm-version 		-Wunticked-promoted-constructors
	    -Wno-unticked-promoted-constructors -Wunused-binds -Wno-unused-binds
	    -Wunused-do-bind   -Wno-unused-do-bind   -Wunused-foralls	-Wno-un-
	    used-foralls   -Wunused-imports   -Wno-unused-imports   -Wunused-lo-
	    cal-binds	 -Wno-unused-local-binds    -Wunused-matches	-Wno-un-
	    used-matches  -Wunused-packages  -Wno-unused-packages  -Wunused-pat-
	    tern-binds	  -Wno-unused-pattern-binds    -Wunused-record-wildcards
	    -Wno-unused-record-wildcards       -Wunused-top-binds	-Wno-un-
	    used-top-binds    -Wunused-type-patterns   -Wno-unused-type-patterns
	    -Wview-pattern-signatures -Wno-view-pattern-signatures -Wwarn  -Wer-
	    ror        -Wwarnings-deprecations	      -Wno-warnings-deprecations
	    -Wwrong-do-bind -Wno-wrong-do-bind -Wx-^a"category^a(C) -Wno-x-^a"cate-
	    gory^a(C)

   Code generation
     -dynamic-too <#ghc-flag-dynamic-too>
	    Build dynamic object files as well as  static  object  files  during
	    compilation

     -fasm <#ghc-flag--fllvm>
	    Use the native code generator <#native-code-gen>

     -fbyte-code <#ghc-flag-fbyte-code>
	    Generate byte-code

     -fbyte-code-and-object-code <#ghc-flag-fbyte-code-and-object-code>
	    Generate object code and byte-code

     -fexpose-internal-symbols <#ghc-flag-fexpose-internal-symbols>
	    Produce symbols for all functions, including internal functions.

     -fexternal-dynamic-refs <#ghc-flag-fexternal-dynamic-refs>
	    Generate code for linking against dynamic libraries

     -fllvm <#ghc-flag-fllvm>
	    Compile using the LLVM code generator <#llvm-code-gen>

     -fno-code <#ghc-flag-fno-code>
	    Omit code generation

     -fobject-code <#ghc-flag-fobject-code>
	    Generate object code

     -fPIC <#ghc-flag-fPIC>
	    Generate position-independent code (where available)

     -fPIE <#ghc-flag-fPIE>
	    Generate  code  for  a position-independent executable (where avail-
	    able)

     -fprefer-byte-code <#ghc-flag-fprefer-byte-code>
	    Use byte-code if it is available to evaluate TH splices

     -fwrite-if-simplified-core <#ghc-flag-fwrite-if-simplified-core>
	    Write an interface file containing the simplified core of  the  mod-
	    ule.

     -fwrite-interface <#ghc-flag-fwrite-interface>
	    Always write interface files

   Debugging the compiler
     -dasm-lint <#ghc-flag-dasm-lint>
	    ASM pass sanity checking

     -dcmm-lint <#ghc-flag-dcmm-lint>
	    C-\- pass sanity checking

     -dcore-lint <#ghc-flag-dcore-lint>
	    Turn on internal sanity checking

     -ddisable-js-c-sources <#ghc-flag-ddisable-js-c-sources>
	    Disable the link with C sources compiled to JavaScript

     -ddisable-js-minifier <#ghc-flag-ddisable-js-minifier>
	    Generate  pretty-printed  JavaScript  code instead of minified (com-
	    pacted) code.

     -ddump-asm <#ghc-flag-ddump-asm>
	    Dump final assembly

     -ddump-asm-conflicts <#ghc-flag-ddump-asm-conflicts>
	    Dump register conflicts from the register allocator.

     -ddump-asm-liveness <#ghc-flag-ddump-asm-liveness>
	    Dump assembly augmented with register liveness

     -ddump-asm-native <#ghc-flag-ddump-asm-native>
	    Dump initial assembly

     -ddump-asm-regalloc <#ghc-flag-ddump-asm-regalloc>
	    Dump the result of register allocation

     -ddump-asm-regalloc-stages <#ghc-flag-ddump-asm-regalloc-stages>
	    Dump   the	 build/spill   stages	 of    the    -fregs-graph    <#
	    ghc-flag-fregs-graph> register allocator.

     -ddump-asm-stats <#ghc-flag-ddump-asm-stats>
	    Dump statistics from the register allocator.

     -ddump-bcos <#ghc-flag-ddump-bcos>
	    Dump interpreter byte code

     -ddump-c-backend <#ghc-flag-ddump-c-backend>
	    Dump C code produced by the C (unregisterised) backend.

     -ddump-call-arity <#ghc-flag-ddump-call-arity>
	    Dump output of the call arity analysis pass.

     -ddump-cfg-weights <#ghc-flag-ddump-cfg-weights>
	    Dump the assumed weights of the CFG.

     -ddump-cmm <#ghc-flag-ddump-cmm>
	    Dump the final C-\- output

     -ddump-cmm-caf <#ghc-flag-ddump-cmm-caf>
	    Dump the results of the C-\- CAF analysis pass.

     -ddump-cmm-cbe <#ghc-flag-ddump-cmm-cbe>
	    Dump the results of common block elimination

     -ddump-cmm-cfg <#ghc-flag-ddump-cmm-cfg>
	    Dump the results of the C-\- control flow optimisation pass.

     -ddump-cmm-cps <#ghc-flag-ddump-cmm-cps>
	    Dump the results of the CPS pass

     -ddump-cmm-from-stg <#ghc-flag-ddump-cmm-from-stg>
	    Dump STG-to-C-\- output

     -ddump-cmm-info <#ghc-flag-ddump-cmm-info>
	    Dump the results of the C-\- info table augmentation pass.

     -ddump-cmm-opt <#ghc-flag-ddump-cmm-opt>
	    Dump the results of C-\- to C-\- optimising passes

     -ddump-cmm-proc <#ghc-flag-ddump-cmm-proc>
	    Dump the results of proc-point analysis

     -ddump-cmm-procmap <#ghc-flag-ddump-cmm-procmap>
	    Dump the results of the C-\- proc-point map pass.

     -ddump-cmm-raw <#ghc-flag-ddump-cmm-raw>
	    Dump raw C-\-

     -ddump-cmm-sink <#ghc-flag-ddump-cmm-sink>
	    Dump the results of the C-\- sinking pass.

     -ddump-cmm-sp <#ghc-flag-ddump-cmm-sp>
	    Dump the results of the C-\- stack layout pass.

     -ddump-cmm-split <#ghc-flag-ddump-cmm-split>
	    Dump the results of the C-\- proc-point splitting pass.

     -ddump-cmm-switch <#ghc-flag-ddump-cmm-switch>
	    Dump the results of switch lowering passes

     -ddump-cmm-thread-sanitizer <#ghc-flag-ddump-cmm-thread-sanitizer>
	    Dump the results of the C-\- ThreadSanitizer elaboration pass.

     -ddump-cmm-verbose <#ghc-flag-ddump-cmm-verbose>
	    Write output from main C-\- pipeline passes to files

     -ddump-cmm-verbose-by-proc <#ghc-flag-ddump-cmm-verbose-by-proc>
	    Show output from main C-\- pipeline passes (grouped by proc)

     -ddump-core-stats <#ghc-flag-ddump-core-stats>
	    Print  a one-line summary of the size of the Core program at the end
	    of the optimisation pipeline

     -ddump-cpr-signatures <#ghc-flag-ddump-cpr-signatures>
	    Dump CPR signatures

     -ddump-cpranal <#ghc-flag-ddump-cpranal>
	    Dump CPR analysis output

     -ddump-cs-trace <#ghc-flag-ddump-cs-trace>
	    Trace constraint solver

     -ddump-cse <#ghc-flag-ddump-cse>
	    Dump CSE output

     -ddump-debug <#ghc-flag-ddump-debug>
	    Dump generated DWARF debug information

     -ddump-deriv <#ghc-flag-ddump-deriv>
	    Dump deriving output

     -ddump-dmd-signatures <#ghc-flag-ddump-dmd-signatures>
	    Dump top-level demand signatures

     -ddump-dmdanal <#ghc-flag-ddump-dmdanal>
	    Dump demand analysis output

     -ddump-ds <#ghc-flag-ddump-ds>
	    Dump desugarer output.

     -ddump-ec-trace <#ghc-flag-ddump-ec-trace>
	    Trace exhaustiveness checker

     -ddump-exitify <#ghc-flag-ddump-exitify>
	    Dump output of the exitification pass.

     -ddump-faststrings <#ghc-flag-ddump-faststrings>
	    Dump the whole FastString table when finished

     -ddump-file-prefix=^a"str^a(C) <#ghc-flag-ddump-file-prefix-str>
	    Set the prefix of the filenames used for debugging output.

     -ddump-float-in <#ghc-flag-ddump-float-in>
	    Dump float in output

     -ddump-foreign <#ghc-flag-ddump-foreign>
	    Dump foreign export stubs

     -ddump-full-laziness <#ghc-flag-ddump-full-laziness>
	    Dump full laziness pass output

     -ddump-hie <#ghc-flag-ddump-hie>
	    Dump the hie file syntax tree

     -ddump-hpc <#ghc-flag-ddump-hpc>
	    An alias for -ddump-ticked <#ghc-flag-ddump-ticked>.

     -ddump-if-trace <#ghc-flag-ddump-if-trace>
	    Trace interface files

     -ddump-inlinings <#ghc-flag-ddump-inlinings>
	    Dump inlinings performed by the simplifier.

     -ddump-js <#ghc-flag-ddump-js>
	    Dump final JavaScript code

     -ddump-json <#ghc-flag-ddump-json>
	    (deprecated)	  Use	       -fdiagnostics-as-json	      <#
	    ghc-flag-fdiagnostics-as-json> instead

     -ddump-late-cc <#ghc-flag-ddump-late-cc>
	    Dump core with late cost centres added

     -ddump-liberate-case <#ghc-flag-ddump-liberate-case>
	    Dump liberate case output

     -ddump-llvm <#ghc-flag-ddump-llvm>
	    Dump LLVM intermediate code.

     -ddump-mod-map <#ghc-flag-ddump-mod-map>
	    Dump the state of the module mapping database.

     -ddump-occur-anal <#ghc-flag-ddump-occur-anal>
	    Dump occurrence analysis output

     -ddump-opt-cmm <#ghc-flag-ddump-opt-cmm>
	    Dump the results of C-\- to C-\- optimising passes

     -ddump-parsed <#ghc-flag-ddump-parsed>
	    Dump parse tree

     -ddump-parsed-ast <#ghc-flag-ddump-parsed-ast>
	    Dump parser output as a syntax tree

     -ddump-prep <#ghc-flag-ddump-prep>
	    Dump prepared core

     -ddump-rn <#ghc-flag-ddump-rn>
	    Dump renamer output

     -ddump-rn-ast <#ghc-flag-ddump-rn-ast>
	    Dump renamer output as a syntax tree

     -ddump-rn-stats <#ghc-flag-ddump-rn-stats>
	    Renamer stats

     -ddump-rn-trace <#ghc-flag-ddump-rn-trace>
	    Trace renamer

     -ddump-rtti <#ghc-flag-ddump-rtti>
	    Trace runtime type inference

     -ddump-rule-firings <#ghc-flag-ddump-rule-firings>
	    Dump rule firing info

     -ddump-rule-rewrites <#ghc-flag-ddump-rule-rewrites>
	    Dump detailed rule firing info

     -ddump-rules <#ghc-flag-ddump-rules>
	    Dump rewrite rules

     -ddump-simpl <#ghc-flag-ddump-simpl>
	    Dump final simplifier output

     -ddump-simpl-iterations <#ghc-flag-ddump-simpl-iterations>
	    Dump output from each simplifier iteration

     -ddump-simpl-stats <#ghc-flag-ddump-simpl-stats>
	    Dump simplifier stats

     -ddump-simpl-trace <#ghc-flag-ddump-simpl-trace>
	    Dump trace messages in simplifier

     -ddump-spec <#ghc-flag-ddump-spec>
	    Dump specialiser output

     -ddump-spec-constr <#ghc-flag-ddump-spec-constr>
	    Dump specialiser output from SpecConstr

     -ddump-splices <#ghc-flag-ddump-splices>
	    Dump TH spliced expressions, and what they evaluate to

     -ddump-static-argument-transformation <#
     ghc-flag-ddump-static-argument-transformation>
	    Dump static argument transformation output

     -ddump-stg <#ghc-flag-ddump-stg>
	    (deprecated)       Alias	   for	    -ddump-stg-from-core      <#
	    ghc-flag-ddump-stg-from-core>

     -ddump-stg-cg <#ghc-flag-ddump-stg-cg>
	    Show output after Stg2Stg

     -ddump-stg-final <#ghc-flag-ddump-stg-final>
	    Show output of last STG pass.

     -ddump-stg-from-core <#ghc-flag-ddump-stg-from-core>
	    Show CoreToStg output

     -ddump-stg-tags <#ghc-flag-ddump-stg-tags>
	    Show output of the tag inference pass.

     -ddump-stg-unarised <#ghc-flag-ddump-stg-unarised>
	    Show unarised STG

     -ddump-str-signatures <#ghc-flag-ddump-str-signatures>
	    (deprecated)      Alias	 for	  -ddump-dmd-signatures       <#
	    ghc-flag-ddump-dmd-signatures>

     -ddump-stranal <#ghc-flag-ddump-stranal>
	    (deprecated) Alias for -ddump-dmdanal <#ghc-flag-ddump-dmdanal>

     -ddump-tc <#ghc-flag-ddump-tc>
	    Dump typechecker output

     -ddump-tc-ast <#ghc-flag-ddump-tc-ast>
	    Dump typechecker output as a syntax tree

     -ddump-tc-trace <#ghc-flag-ddump-tc-trace>
	    Trace typechecker

     -ddump-ticked <#ghc-flag-ddump-ticked>
	    Dump the code instrumented by HPC (Observing Code Coverage <#hpc>).

     -ddump-timings <#ghc-flag-ddump-timings>
	    Dump per-pass timing and allocation statistics

     -ddump-to-file <#ghc-flag-ddump-to-file>
	    Dump to files instead of stdout

     -ddump-types <#ghc-flag-ddump-types>
	    Dump type signatures

     -ddump-verbose-inlinings <#ghc-flag-ddump-verbose-inlinings>
	    Dump all considered inlinings

     -ddump-view-pattern-commoning <#ghc-flag-ddump-view-pattern-commoning>
	    Dump commoned view patterns

     -ddump-worker-wrapper <#ghc-flag-ddump-worker-wrapper>
	    Dump worker-wrapper output

     -dfaststring-stats <#ghc-flag-dfaststring-stats>
	    Show statistics for fast string usage when finished

     -dhex-word-literals <#ghc-flag-dhex-word-literals>
	    Print values of type Word# in hexadecimal.

     -dinitial-unique=^a"s^a(C) <#ghc-flag-dinitial-unique-s>
	    Start UniqSupply allocation from a"sa(C).

     -dinline-check=^a"str^a(C) <#ghc-flag-dinline-check-str>
	    Dump information about inlining decisions

     -dipe-stats <#ghc-flag-dipe-stats>
	    Show statistics about IPE information

     -dkeep-comments <#ghc-flag-dkeep-comments>
	    Include   comments	in  the  parser.   Useful  in  combination  with
	    -ddump-parsed-ast <#ghc-flag-ddump-parsed-ast>.

     -dlinear-core-lint <#ghc-flag-dlinear-core-lint>
	    Turn on internal sanity checking

     -dlint <#ghc-flag-dlint>
	    Enable several common internal sanity checkers

     -dno-debug-output <#ghc-flag-dno-debug-output>
	    Suppress unsolicited debugging output

     -dno-typeable-binds <#ghc-flag-dno-typeable-binds>
	    Don't generate bindings for Typeable methods

     -dppr-case-as-let <#ghc-flag-dppr-case-as-let>
	    Print single alternative case expressions as strict lets.

     -dppr-cols=^a"n^a(C) <#ghc-flag-dppr-cols-n>
	    Set the width of debugging output. For example -dppr-cols200

     -dppr-debug <#ghc-flag-dppr-debug>
	    Turn on debug printing (more verbose)

     -dppr-user-length <#ghc-flag-dppr-user-length>
	    Set the depth for printing expressions in error msgs

     -drule-check=^a"str^a(C) <#ghc-flag-drule-check-str>
	    Dump information about potential rule application

     -dshow-passes <#ghc-flag-dshow-passes>
	    Print out each pass name as it happens

     -dstg-lint <#ghc-flag-dstg-lint>
	    STG pass sanity checking

     -dsuppress-all <#ghc-flag-dsuppress-all>
	    In dumps, suppress everything (except for uniques) that is suppress-
	    ible.

     -dsuppress-coercion-types <#ghc-flag-dsuppress-coercion-types>
	    Suppress the printing of coercion types in Core dumps to  make  them
	    shorter

     -dsuppress-coercions <#ghc-flag-dsuppress-coercions>
	    Suppress  the  printing  of  coercions  in	Core  dumps to make them
	    shorter

     -dsuppress-core-sizes <#ghc-flag-dsuppress-core-sizes>
	    Suppress the printing of core size stats per binding (since 9.4)

     -dsuppress-idinfo <#ghc-flag-dsuppress-idinfo>
	    Suppress extended information about identifiers where they are bound

     -dsuppress-module-prefixes <#ghc-flag-dsuppress-module-prefixes>
	    Suppress the printing of module qualification prefixes

     -dsuppress-stg-free-vars <#ghc-flag-dsuppress-stg-free-vars>
	    Suppress the printing of closure free variable lists in STG output

     -dsuppress-stg-reps <#ghc-flag-dsuppress-stg-reps>
	    Suppress rep annotations on STG args.

     -dsuppress-ticks <#ghc-flag-dsuppress-ticks>
	    Suppress "ticks" in the pretty-printer output.

     -dsuppress-timestamps <#ghc-flag-dsuppress-timestamps>
	    Suppress timestamps in dumps

     -dsuppress-type-applications <#ghc-flag-dsuppress-type-applications>
	    Suppress type applications

     -dsuppress-type-signatures <#ghc-flag-dsuppress-type-signatures>
	    Suppress type signatures

     -dsuppress-unfoldings <#ghc-flag-dsuppress-unfoldings>
	    Suppress the printing of the stable unfolding of a variable  at  its
	    binding site

     -dsuppress-uniques <#ghc-flag-dsuppress-uniques>
	    Suppress  the  printing  of  uniques  in debug output (easier to use
	    diff)

     -dsuppress-var-kinds <#ghc-flag-dsuppress-var-kinds>
	    Suppress the printing of variable kinds

     -dtag-inference-checks <#ghc-flag-dtag-inference-checks>
	    Affirm tag inference results are correct at runtime.

     -dth-dec-file <#ghc-flag-dth-dec-file>
	    Dump evaluated TH declarations into *.th.hs files

     -dunique-increment=^a"i^a(C) <#ghc-flag-dunique-increment-i>
	    Set the increment for the generated Unique's to a"ia(C).

     -dverbose-core2core <#ghc-flag-dverbose-core2core>
	    Show output from each core-to-core pass

     -dverbose-stg2stg <#ghc-flag-dverbose-stg2stg>
	    Show output from each STG-to-STG pass

     -fadd-bco-name <#ghc-flag-fadd-bco-name>
	    Add BCO_NAME instructions in generated bytecode.

     -falignment-sanitisation <#ghc-flag-falignment-sanitisation>
	    Compile with alignment checks for all info table dereferences.

     -fcatch-nonexhaustive-cases <#ghc-flag-fcatch-nonexhaustive-cases>
	    Add a default error alternative to case expressions  without  a  de-
	    fault alternative.

     -fcheck-prim-bounds <#ghc-flag-fcheck-prim-bounds>
	    Instrument array primops with bounds checks.

     -fcmm-thread-sanitizer <#ghc-flag-fcmm-thread-sanitizer>
	    Enable ThreadSanitizer instrumentation of memory accesses.

     -fdistinct-constructor-tables <#ghc-flag-fdistinct-constructor-tables>
	    Generate a fresh info table for each usage of a data constructor.

     -fdump-with-ways <#ghc-flag-fdump-with-ways>
	    Include the tag of the enabled ways in the extension of dump files.

     -finfo-table-map <#ghc-flag-finfo-table-map>
	    Embed  a lookup table in the generated binary which maps the address
	    of an info table to the source position the closure originated from.

     -finfo-table-map-with-fallback <#
     ghc-flag--fno-info-table-map-with-fallback>
	    Include info tables with no source location information in the  info
	    table map.

     -finfo-table-map-with-stack <#ghc-flag--fno-info-table-map-with-stack>
	    Include info tables for STACK closures in the info table map.

     -fllvm-fill-undef-with-garbage <#ghc-flag-fllvm-fill-undef-with-garbage>
	    Intruct LLVM to fill dead STG registers with garbage

     -fno-info-table-map-with-fallback <#
     ghc-flag-fno-info-table-map-with-fallback>
	    Omit  info	tables with no source location information from the info
	    table map.

     -fno-info-table-map-with-stack <#ghc-flag-fno-info-table-map-with-stack>
	    Omit info tables for STACK closures from the info table map.

     -forig-thunk-info <#ghc-flag-forig-thunk-info>
	    Generate stg_orig_thunk_info stack frames on thunk entry

     -fproc-alignment <#ghc-flag-fproc-alignment>
	    Align functions at given boundary.

     -funoptimized-core-for-interpreter <#
     ghc-flag-funoptimized-core-for-interpreter>
	    Disable optimizations with the interpreter

     -g <#ghc-flag-g>
	    Produce DWARF debug information in compiled object	files.	 a"na(C)
	    can  be  0, 1, or 2, with higher numbers producing richer output. If
	    a"na(C) is omitted, level 2 is assumed.

   C pre-processor
     -cpp <#ghc-flag-cpp>
	    Run the C pre-processor on Haskell source files

     -D^a"symbol^a(C)[=^a"value^a(C)] <#ghc-flag-Dsymbol-value>
	    Define a symbol in the C pre-processor

     -I^a"dir^a(C) <#ghc-flag-Idir>
	    Add a"dira(C) to the directory search list for #include files

     -U^a"symbol^a(C) <#ghc-flag-Usymbol>
	    Undefine a symbol in the C pre-processor

   Finding imports
     -i <#ghc-flag-i>
	    Empty the import directory list

     -i^a"dir^a(C)[:^a"dir^a(C)]* <#ghc-flag-idir-dir>
	    add a"dira(C), a"dir2a(C), etc. to import path

   Interactive mode
     -fbreak-on-error <#ghc-flag-fbreak-on-error>
	    Break on uncaught exceptions and errors <#ghci-debugger-exceptions>

     -fbreak-on-exception <#ghc-flag-fbreak-on-exception>
	    Break on any exception thrown <#ghci-debugger-exceptions>

     -fbreak-points <#ghc-flag-fbreak-points>
	    Insert breakpoints in the GHCi debugger <#ghci-debugger>

     -fghci-hist-size=^a"n^a(C) <#ghc-flag-fghci-hist-size-n>
	    Set the number of entries GHCi keeps for :history.	See The GHCi De-
	    bugger <#ghci-debugger>.

     -fghci-leak-check <#ghc-flag-fghci-leak-check>
	    (Debugging only) check for space leaks when loading new  modules  in
	    GHCi.

     -fimplicit-import-qualified <#ghc-flag-fimplicit-import-qualified>
	    Put in scope qualified identifiers for every loaded module

     -flocal-ghci-history <#ghc-flag-flocal-ghci-history>
	    Use  current  directory for the GHCi command history file .ghci-his-
	    tory.

     -fno-it <#ghc-flag-fno-it>
	    No longer set the special variable it.

     -fprint-bind-result <#ghc-flag-fprint-bind-result>
	    Turn on printing of binding results in GHCi <#ghci-stmts>

     -fprint-evld-with-show <#ghc-flag-fprint-evld-with-show>
	    Instruct :print <#ghci-cmd-print> to use Show instances where possi-
	    ble.

     -fshow-loaded-modules <#ghc-flag-fshow-loaded-modules>
	    Show the names  of	modules  that  GHCi  loaded  after  a  :load  <#
	    ghci-cmd-load> command.

     -ghci-script <#ghc-flag-ghci-script>
	    Read additional .ghci files

     -ignore-dot-ghci <#ghc-flag-ignore-dot-ghci>
	    Disable reading of .ghci files

     -interactive-print ^a"name^a(C) <#ghc-flag-interactive-print-name>
	    Select  the  function  to  use for printing evaluated expressions in
	    GHCi <#ghci-interactive-print>

   Interface files
     --show-iface ^a"file^a(C) <#ghc-flag-show-iface-file>
	    See Modes of operation <#modes>.

     -ddump-hi <#ghc-flag-ddump-hi>
	    Dump the new interface to stdout

     -ddump-hi-diffs <#ghc-flag-ddump-hi-diffs>
	    Show the differences vs. the old interface

     -ddump-minimal-imports <#ghc-flag-ddump-minimal-imports>
	    Dump a minimal set of imports

   Keeping intermediate files
     -keep-hc-file <#ghc-flag-keep-hc-file>
	    Retain intermediate .hc files.

     -keep-hi-files <#ghc-flag-keep-hi-files>
	    Retain intermediate .hi files (the default).

     -keep-hscpp-file <#ghc-flag-keep-hscpp-file>
	    Retain intermediate .hscpp files.

     -keep-llvm-file <#ghc-flag-keep-llvm-file>
	    Retain   intermediate   LLVM   .ll	 files.    Implies   -fllvm   <#
	    ghc-flag-fllvm>.

     -keep-o-files <#ghc-flag-keep-o-files>
	    Retain intermediate .o files (the default).

     -keep-s-file <#ghc-flag-keep-s-file>
	    Retain intermediate .s files.

     -keep-tmp-files <#ghc-flag-keep-tmp-files>
	    Retain all intermediate temporary files.

   Language options
     -XAllowAmbiguousTypes <#extension-AllowAmbiguousTypes>
	    Allow  the user to write ambiguous types, and the type inference en-
	    gine to infer them.

     -XApplicativeDo <#extension-ApplicativeDo>
	    Allow do-notation statements to be desugared via Applicative.

     -XArrows <#extension-Arrows>
	    Allow arrow notation (e.g. proc)

     -XBangPatterns <#extension-BangPatterns>
	    Allow bang pattern syntax.

     -XBinaryLiterals <#extension-BinaryLiterals>
	    Allow binary literal syntax.

     -XBlockArguments <#extension-BlockArguments>
	    Allow do blocks and other constructs as function arguments.

     -XCApiFFI <#extension-CApiFFI>
	    Allow foreign imports to be declared with the capi	calling  conven-
	    tion.

     -XConstrainedClassMethods <#extension-ConstrainedClassMethods>
	    Allow class methods to have non-empty contexts.

     -XConstraintKinds <#extension-ConstraintKinds>
	    Allow constraints to be used as types of kind Constraint.

     -XCPP <#extension-CPP>
	    Resolve C preprocessor directives.

     -XCUSKs <#extension-CUSKs>
	    Detect complete user-supplied kind signatures.

     -XDataKinds <#extension-DataKinds>
	    Allow use of data constructors in types.

     -XDatatypeContexts <#extension-DatatypeContexts>
	    Allow contexts on data types.

     -XDeepSubsumption <#extension-DeepSubsumption>
	    Use GHC's deep subsumption checking.

     -XDefaultSignatures <#extension-DefaultSignatures>
	    Allow default signatures for typeclass methods.

     -XDeriveAnyClass <#extension-DeriveAnyClass>
	    Allow deriving syntax to be used for any class.

     -XDeriveDataTypeable <#extension-DeriveDataTypeable>
	    Allow deriving for the Data class.

     -XDeriveFoldable <#extension-DeriveFoldable>
	    Allow deriving for the Foldable class.

     -XDeriveFunctor <#extension-DeriveFunctor>
	    Allow deriving for the Functor class.

     -XDeriveGeneric <#extension-DeriveGeneric>
	    Allow deriving of Generic instances.

     -XDeriveLift <#extension-DeriveLift>
	    Allow deriving for the Lift class

     -XDeriveTraversable <#extension-DeriveTraversable>
	    Allow deriving for the Traversable class.

     -XDerivingStrategies <#extension-DerivingStrategies>
	    Allow use of instance deriving strategies.

     -XDerivingVia <#extension-DerivingVia>
	    Allow  deriving  instances via types of the same runtime representa-
	    tion.

     -XDisambiguateRecordFields <#extension-DisambiguateRecordFields>
	    Automatically disambiguate some record field references.

     -XDuplicateRecordFields <#extension-DuplicateRecordFields>
	    Allow definition of record types with identically-named fields.

     -XEmptyCase <#extension-EmptyCase>
	    Allow case expressions with no alternatives.

     -XEmptyDataDecls <#extension-EmptyDataDecls>
	    Allow definition of empty data types.

     -XEmptyDataDeriving <#extension-EmptyDataDeriving>
	    Allow deriving instances of standard type  classes	for  empty  data
	    types.

     -XExistentialQuantification <#extension-ExistentialQuantification>
	    Allow existentially quantified type variables in types.

     -XExplicitForAll <#extension-ExplicitForAll>
	    Allow explicit universal quantification.

     -XExplicitNamespaces <#extension-ExplicitNamespaces>
	    Allow use of the keyword type to specify the namespace of entries in
	    imports and exports.

     -XExtendedDefaultRules <#extension-ExtendedDefaultRules>
	    Use GHCi's extended default rules in a normal module.

     -XExtendedLiterals <#extension-ExtendedLiterals>
	    Allow numeric literal postfix syntax for unboxed integers.

     -XFieldSelectors <#extension-FieldSelectors>
	    Make record field selector functions visible in expressions.

     -XFlexibleContexts <#extension-FlexibleContexts>
	    Remove some restrictions on class contexts

     -XFlexibleInstances <#extension-FlexibleInstances>
	    Allow instance heads to mention arbitrary nested types.

     -XForeignFunctionInterface <#extension-ForeignFunctionInterface>
	    Allow foreign function interface syntax.

     -XFunctionalDependencies <#extension-FunctionalDependencies>
	    Allow functional dependencies to be given on typeclass declarations.

     -XGADTs <#extension-GADTs>
	    Allow definition of generalised algebraic data types.

     -XGADTSyntax <#extension-GADTSyntax>
	    Allow generalised algebraic data type syntax.

     -XGeneralisedNewtypeDeriving <#extension-GeneralisedNewtypeDeriving>
	    Allow instances to be derived via newtype deriving.

     -XGeneralizedNewtypeDeriving <#extension-GeneralisedNewtypeDeriving>
	    Allow instances to be derived via newtype deriving.

     -XGHC2021 <#extension-GHC2021>
	    Use GHCas set of default language extensions from 2021

     -XGHC2024 <#extension-GHC2024>
	    Use GHCas set of default language extensions from 2024

     -XGHCForeignImportPrim <#extension-GHCForeignImportPrim>
	    Allow prim calling convention. Intended for internal use only.

     -XHaskell2010 <#extension-Haskell2010>
	    Use the Haskell 2010 language edition.

     -XHaskell98 <#extension-Haskell98>
	    Use the Haskell 98 language edition.

     -XHexFloatLiterals <#extension-HexFloatLiterals>
	    Allow hexadecimal floating-point literal syntax.

     -XImplicitParams <#extension-ImplicitParams>
	    Allow implicit parameter constraints.

     -XImplicitPrelude <#extension-ImplicitPrelude>
	    Implicitly import Prelude.

     -XImportQualifiedPost <#extension-ImportQualifiedPost>
	    Allows the syntax import M qualified

     -XImpredicativeTypes <#extension-ImpredicativeTypes>
	    Allow impredicative types.

     -XIncoherentInstances <#extension-IncoherentInstances>
	    Allow definitions of instances that may result in incoherence.

     -XInstanceSigs <#extension-InstanceSigs>
	    Allow type signatures to be written for instance methods.

     -XInterruptibleFFI <#extension-InterruptibleFFI>
	    Allow interruptible FFI imports.

     -XKindSignatures <#extension-KindSignatures>
	    Allow kind signatures to be given for types.

     -XLambdaCase <#extension-LambdaCase>
	    Allow \case expressions.

     -XLexicalNegation <#extension-LexicalNegation>
	    Use  whitespace to determine whether the minus sign stands for nega-
	    tion or subtraction.

     -XLiberalTypeSynonyms <#extension-LiberalTypeSynonyms>
	    Relax many of Haskell 98's rules on type synonym definitions.

     -XLinearTypes <#extension-LinearTypes>
	    Allow writing of linear  arrow  types.   Implies  MonoLocalBinds  <#
	    extension-MonoLocalBinds>.

     -XListTuplePuns <#extension-ListTuplePuns>
	    Enable punning for list, tuple and sum types.

     -XMagicHash <#extension-MagicHash>
	    Allow # as a postfix modifier on identifiers.

     -XMonadComprehensions <#extension-MonadComprehensions>
	    Allow  list  comprehension	syntax	to  be used at monads other than
	    List.

     -XMonoLocalBinds <#extension-MonoLocalBinds>
	    Do not generalise types of local bindings.

     -XMonomorphismRestriction <#extension-MonomorphismRestriction>
	    Apply the Haskell 2010 monomorphism restriction.

     -XMultilineStrings <#extension-MultilineStrings>
	    Enable multiline string literals.

     -XMultiParamTypeClasses <#extension-MultiParamTypeClasses>
	    Enable multi-parameter type classes.

     -XMultiWayIf <#extension-MultiWayIf>
	    Allow multi-way if-expressions.

     -XNamedDefaults <#extension-NamedDefaults>
	    Enable default declarations with explicitly named  class,  extending
	    Type class defaulting <#class-defaulting>.

     -XNamedFieldPuns <#extension-NamedFieldPuns>
	    Allow record field punning syntax.

     -XNamedWildCards <#extension-NamedWildCards>
	    Allow named wildcards in types.

     -XNegativeLiterals <#extension-NegativeLiterals>
	    Allow negative numeric literal syntax.

     -XNondecreasingIndentation <#extension-NondecreasingIndentation>
	    Allow nested contexts to be at the same indentation level as its en-
	    closing context.

     -XNPlusKPatterns <#extension-NPlusKPatterns>
	    Allow use of n+k patterns.

     -XNullaryTypeClasses <#extension-NullaryTypeClasses>
	    Deprecated, does nothing. nullary type classes are now enabled using
	    MultiParamTypeClasses <#extension-MultiParamTypeClasses>.

     -XNumDecimals <#extension-NumDecimals>
	    Allow use of scientific notation syntax for integer literals.

     -XNumericUnderscores <#extension-NumericUnderscores>
	    Allow underscores in numeric literals.

     -XOrPatterns <#extension-OrPatterns>
	    Enable or-patterns.

     -XOverlappingInstances <#extension-OverlappingInstances>
	    Allow definition of overlapping instances.

     -XOverloadedLabels <#extension-OverloadedLabels>
	    Allow overloaded label syntax.

     -XOverloadedLists <#extension-OverloadedLists>
	    Desugar list syntax via the IsList class.

     -XOverloadedRecordDot <#extension-OverloadedRecordDot>
	    Allow . to be used for record field access.

     -XOverloadedRecordUpdate <#extension-OverloadedRecordUpdate>
	    Allow . syntax in record updates

     -XOverloadedStrings <#extension-OverloadedStrings>
	    Desugar string literals via IsString class.

     -XPackageImports <#extension-PackageImports>
	    Allow package-qualified import syntax.

     -XParallelListComp <#extension-ParallelListComp>
	    Allow parallel list comprehension syntax.

     -XPartialTypeSignatures <#extension-PartialTypeSignatures>
	    Allow type signatures to contain wildcards.

     -XPatternGuards <#extension-PatternGuards>
	    Allow pattern guards syntax.

     -XPatternSynonyms <#extension-PatternSynonyms>
	    Allow definition of pattern synonyms.

     -XPolyKinds <#extension-PolyKinds>
	    Allow kind polymorphism.

     -XPostfixOperators <#extension-PostfixOperators>
	    Allow the use of postfix operators.

     -XQualifiedDo <#extension-QualifiedDo>
	    Allow qualified do-notation desugaring.

     -XQuantifiedConstraints <#extension-QuantifiedConstraints>
	    Allow forall quantifiers in constraints.

     -XQuasiQuotes <#extension-QuasiQuotes>
	    Allow quasiquotation syntax.

     -XRank2Types <#extension-Rank2Types>
	    Enable rank-2 types.

     -XRankNTypes <#extension-RankNTypes>
	    Allow types of rank greater than one.

     -XRebindableSyntax <#extension-RebindableSyntax>
	    Allow rebinding of builtin syntax.

     -XRecordWildCards <#extension-RecordWildCards>
	    Allow use of record wildcard syntax.

     -XRecursiveDo <#extension-RecursiveDo>
	    Allow recursive do (e.g. mdo) notation.

     -XRequiredTypeArguments <#extension-RequiredTypeArguments>
	    Allow use of required type argument syntax in terms.

     -XRoleAnnotations <#extension-RoleAnnotations>
	    Allow role annotation syntax.

     -XSafe <#extension-Safe>
	    Enable the Safe Haskell <#safe-haskell> Safe mode.

     -XScopedTypeVariables <#extension-ScopedTypeVariables>
	    Lexically scope explicitly-introduced type variables.

     -XStandaloneDeriving <#extension-StandaloneDeriving>
	    Allow standalone instance deriving declarations.

     -XStandaloneKindSignatures <#extension-StandaloneKindSignatures>
	    Allow standalone kind signature declarations.

     -XStarIsType <#extension-StarIsType>
	    Treat * as Data.Kind.Type.

     -XStaticPointers <#extension-StaticPointers>
	    Allow static syntax.

     -XStrict <#extension-Strict>
	    Make bindings in the current module strict by default.

     -XStrictData <#extension-StrictData>
	    Treat datatype fields as strict by default.

     -XTemplateHaskell <#extension-TemplateHaskell>
	    Allow Template Haskell's splice and quotation syntax.

     -XTemplateHaskellQuotes <#extension-TemplateHaskellQuotes>
	    Allow Template Haskell <#template-haskell>'s quotation syntax.

     -XTraditionalRecordSyntax <#extension-TraditionalRecordSyntax>
	    Allow traditional record syntax (e.g. C {f = x}).

     -XTransformListComp <#extension-TransformListComp>
	    Allow generalised list comprehension syntax.

     -XTrustworthy <#extension-Trustworthy>
	    Enable the Safe Haskell <#safe-haskell> Trustworthy mode.

     -XTupleSections <#extension-TupleSections>
	    Allow use of tuple section synxtax.

     -XTypeAbstractions <#extension-TypeAbstractions>
	    Allow type abstraction syntax in patterns and type variable binders.

     -XTypeApplications <#extension-TypeApplications>
	    Allow type application syntax in terms and types.

     -XTypeData <#extension-TypeData>
	    Allow type data declarations.

     -XTypeFamilies <#extension-TypeFamilies>
	    Allow definition of type families.

     -XTypeFamilyDependencies <#extension-TypeFamilyDependencies>
	    Allow injectivity annotations on type families.

     -XTypeInType <#extension-TypeInType>
	    Deprecated. Enable kind polymorphism and datatype promotion.

     -XTypeOperators <#extension-TypeOperators>
	    Allow type constructors to be given operator names.

     -XTypeSynonymInstances <#extension-TypeSynonymInstances>
	    Allow type synonyms to be mentioned in instance heads.

     -XUnboxedSums <#extension-UnboxedSums>
	    Allow the use of unboxed sum syntax.

     -XUnboxedTuples <#extension-UnboxedTuples>
	    Allow the use of unboxed tuple syntax.

     -XUndecidableInstances <#extension-UndecidableInstances>
	    Allow definition of instances which may make solving undecidable.

     -XUndecidableSuperClasses <#extension-UndecidableSuperClasses>
	    Allow all superclass constraints, including those that may result in
	    non-termination of the typechecker.

     -XUnicodeSyntax <#extension-UnicodeSyntax>
	    Enable unicode syntax.

     -XUnliftedDatatypes <#extension-UnliftedDatatypes>
	    Allow the definition of unlifted data types.

     -XUnliftedFFITypes <#extension-UnliftedFFITypes>
	    Allow  the	types  of  foreign  imports  to contain certain unlifted
	    types.

     -XUnliftedNewtypes <#extension-UnliftedNewtypes>
	    Allow definition of unlifted newtypes.

     -XUnsafe <#extension-Unsafe>
	    Enable Safe Haskell <#safe-haskell> Unsafe mode.

     -XViewPatterns <#extension-ViewPatterns>
	    Allow view pattern syntax.

   Linking options
     -c <#ghc-flag-c>
	    Stop after generating object (.o) file

     -debug <#ghc-flag-debug>
	    Use the debugging runtime

     -dylib-install-name ^a"path^a(C) <#ghc-flag-dylib-install-name-path>
	    Set the install name (via -install_name passed to  Apple's	linker),
	    specifying the full install path of the library file.  Any libraries
	    or	executables  that  link  with it later will pick up that path as
	    their runtime search location for it.  (Darwin/OS X only)

     -dynamic <#ghc-flag-dynamic>
	    Build dynamically-linked object files and executables

     -dynload <#ghc-flag-dynload>
	    Selects one of a number of modes for  finding  shared  libraries  at
	    runtime.

     -eventlog <#ghc-flag-eventlog>
	    Enable runtime event tracing

     -fcompact-unwind <#ghc-flag-fcompact-unwind>
	    Instruct the linker to produce a __compact_unwind section.

     -fkeep-cafs <#ghc-flag-fkeep-cafs>
	    Do not garbage-collect CAFs (top-level expressions) at runtime

     -flink-rts <#ghc-flag-flink-rts>
	    Link the runtime when generating a shared or static library

     -fno-embed-manifest <#ghc-flag-fno-embed-manifest>
	    Do not embed the manifest in the executable (Windows only)

     -fno-gen-manifest <#ghc-flag-fno-gen-manifest>
	    Do not generate a manifest file (Windows only)

     -fno-shared-implib <#ghc-flag-fno-shared-implib>
	    Don't generate an import library for a DLL (Windows only)

     -framework ^a"name^a(C) <#ghc-flag-framework-name>
	    On	Darwin/OS X/iOS only, link in the framework a"namea(C). This op-
	    tion corresponds to the -framework option for Apple's Linker.

     -framework-path ^a"dir^a(C) <#ghc-flag-framework-path-dir>
	    On Darwin/OS X/iOS only, add a"dira(C) to the  list  of  directories
	    searched  for  frameworks.	This option corresponds to the -F option
	    for Apple's Linker.

     -fsplit-sections <#ghc-flag-fsplit-sections>
	    Split sections for link-time dead-code stripping

     -fuse-rpaths <#ghc-flag-fuse-rpaths>
	    Set the rpath based on -L flags

     -fwhole-archive-hs-libs <#ghc-flag-fwhole-archive-hs-libs>
	    When  linking  a  binary   executable,   this   inserts   the   flag
	    -Wl,--whole-archive  before  any -l flags for Haskell libraries, and
	    -Wl,--no-whole-archive afterwards

     -L ^a"dir^a(C) <#ghc-flag-L-dir>
	    Add a"dira(C) to the list of directories searched for libraries

     -l ^a"lib^a(C) <#ghc-flag-l-lib>
	    Link in library a"liba(C)

     -main-is ^a"thing^a(C) <#ghc-flag-main-is-thing>
	    Set main module and function

     -no-hs-main <#ghc-flag-no-hs-main>
	    Don't assume this program contains main

     -no-pie <#ghc-flag-no-pie>
	    Don't instruct the linker to  produce  a  position-independent  exe-
	    cutable.

     -no-rtsopts-suggestions <#ghc-flag-no-rtsopts-suggestions>
	    Don't    print    RTS    suggestions   about   linking   with   -rt-
	    sopts[=^a"none|some|all|ignore|ignoreAll^a(C)]		      <#
	    ghc-flag-rtsopts-none-some-all-ignore-ignoreAll>.

     -package ^a"name^a(C) <#ghc-flag-package-name>
	    Expose package a"pkga(C)

     -pie <#ghc-flag--no-pie>
	    Instruct the linker to produce a position-independent executable.

     -rdynamic <#ghc-flag-rdynamic>
	    This instructs the linker to add all symbols, not only used ones, to
	    the  dynamic symbol table. Currently Linux and Windows/MinGW32 only.
	    This is equivalent to using -optl -rdynamic on Linux, and -optl -ex-
	    port-all-symbols on Windows.

     -rtsopts[=^a"none|some|all|ignore|ignoreAll^a(C)] <#
     ghc-flag-rtsopts-none-some-all-ignore-ignoreAll>
	    Control whether the RTS behaviour can be  tweaked  via  command-line
	    flags  and	the GHCRTS environment variable. Using none means no RTS
	    flags can be given; some means only a minimum of safe options can be
	    given (the default, if -rtsopts is not passed); all means  that  all
	    RTS  flags are permitted (the default, if -rtsopts is passed with no
	    argument); ignore means RTS flags can be given, but are  treated  as
	    regular  arguments	and  passed to the Haskell program as arguments;
	    ignoreAll is the same as ignore, but GHCRTS is  also  ignored.  -rt-
	    sopts  does  not  affect  -with-rtsopts  behavior;	flags passed via
	    -with-rtsopts are used regardless of -rtsopts.

     -shared <#ghc-flag-shared>
	    Generate a shared library (as opposed to an executable)

     -single-threaded <#ghc-flag-single-threaded>
	    Use the single-threaded runtime

     -static <#ghc-flag-static>
	    Use static Haskell libraries

     -staticlib <#ghc-flag-staticlib>
	    Generate a standalone static library (as opposed to an  executable).
	    This  is  useful when cross compiling. The library together with all
	    its dependencies ends up in in a single static library that  can  be
	    linked against.

     -threaded <#ghc-flag--single-threaded>
	    Use the threaded runtime

     -with-rtsopts=^a"opts^a(C) <#ghc-flag-with-rtsopts-opts>
	    Set the default RTS options to a"optsa(C).

   Miscellaneous options
     -ddump-mod-cycles <#ghc-flag-ddump-mod-cycles>
	    Dump module cycles

     -fdefer-out-of-scope-variables <#ghc-flag-fdefer-out-of-scope-variables>
	    Convert  variable  out of scope variables errors into warnings.  Im-
	    plied by  -fdefer-type-errors  <#ghc-flag-fdefer-type-errors>.   See
	    also	       -Wdeferred-out-of-scope-variables	      <#
	    ghc-flag-Wdeferred-out-of-scope-variables>.

     -fdefer-type-errors <#ghc-flag-fdefer-type-errors>
	    Turn type errors into warnings, deferring the error until runtime <#
	    defer-type-errors>.       Implies	    -fdefer-typed-holes       <#
	    ghc-flag-fdefer-typed-holes>  and  -fdefer-out-of-scope-variables <#
	    ghc-flag-fdefer-out-of-scope-variables>.	  See	  also	   -Wde-
	    ferred-type-errors <#ghc-flag-Wdeferred-type-errors>.

     -fdefer-typed-holes <#ghc-flag-fdefer-typed-holes>
	    Convert  typed  hole  <#typed-holes> errors into warnings, deferring
	    the error until  runtime  <#defer-type-errors>.   Implied  by  -fde-
	    fer-type-errors	<#ghc-flag-fdefer-type-errors>.      See    also
	    -Wtyped-holes <#ghc-flag-Wtyped-holes>.

     -fexternal-interpreter <#ghc-flag-fexternal-interpreter>
	    Run interpreted code in a separate process

     -ffamily-application-cache <#ghc-flag-ffamily-application-cache>
	    Use a cache when reducing type family applications

     -fglasgow-exts <#ghc-flag-fglasgow-exts>
	    Deprecated. Enable most language extensions;  see  Controlling  edi-
	    tions and extensions <#options-language> for exactly which ones.

     -fno-safe-haskell <#ghc-flag-fno-safe-haskell>
	    Disable Safe Haskell <#safe-haskell>

     -ghcversion-file ^a"path to ghcversion.h^a(C) <#
     ghc-flag-ghcversion-file-path-to-ghcversion.h>
	    (GHC as a C compiler only) Use this ghcversion.h file

     -H ^a"size^a(C) <#ghc-flag-H-size>
	    Set the minimum size of the heap to a"sizea(C)

     -hidden-module ^a"module name^a(C) <#ghc-flag-hidden-module-module-name>
	    A module which should not be visible outside its unit.

     -j[^a"n^a(C)] <#ghc-flag-j-n>
	    When compiling with --make <#ghc-flag-make>, compile a"na(C) modules
	    in parallel.

     -jsem <#ghc-flag-jsem>
	    When  compiling  with --make <#ghc-flag-make>, coordinate with other
	    processes through the semaphore a"sema(C) to compile modules in par-
	    allel.

     -reexported-module ^a"reexport-spec^a(C) <#
     ghc-flag-reexported-module-reexport-spec>
	    A module which should be reexported from this unit.

     -this-package-name ^a"unit-id^a(C) <#ghc-flag-this-package-name-unit-id>
	    The name of the package which this module would be part of when  in-
	    stalled.

     -unit @^a"filename^a(C) <#ghc-flag-unit-filename>
	    Specify the options to build a specific unit.

     -working-dir ^a"dir^a(C) <#ghc-flag-working-dir-dir>
	    Specify the directory a unit is expected to be compiled in.

   Modes of operation
     --frontend ^a"module^a(C) <#ghc-flag-frontend-module>
	    run  GHC  with  the  given	frontend plugin; see Frontend plugins <#
	    frontend-plugins> for details.

     --help <#ghc-flag-help>
	    Display help

     --info <#ghc-flag-info>
	    display information about the compiler

     --interactive <#ghc-flag-interactive>
	    Interactive mode - normally used by just  running  ghci;  see  Using
	    GHCi <#ghci> for details.

     --make <#ghc-flag-make>
	    Build a multi-module Haskell program, automatically figuring out de-
	    pendencies.  Likely  to be much easier, and faster, than using make;
	    see Using ghc --make <#make-mode> for details.

     --numeric-version <#ghc-flag-numeric-version>
	    display GHC version (numeric only)

     --print-booter-version <#ghc-flag-print-booter-version>
	    display bootstrap compiler version

     --print-build-platform <#ghc-flag-print-build-platform>
	    display platform on which GHC was built

     --print-c-compiler-flags <#ghc-flag-print-c-compiler-flags>
	    C compiler flags used to build GHC

     --print-c-compiler-link-flags <#ghc-flag-print-c-compiler-link-flags>
	    C linker flags used to build GHC

     --print-debug-on <#ghc-flag-print-debug-on>
	    print whether GHC was built with -DDEBUG

     --print-global-package-db <#ghc-flag-print-global-package-db>
	    display GHC's global package database directory

     --print-have-interpreter <#ghc-flag-print-have-interpreter>
	    display whether GHC was built with interactive support

     --print-have-native-code-generator <#
     ghc-flag-print-have-native-code-generator>
	    display whether target platform has NCG support

     --print-host-platform <#ghc-flag-print-host-platform>
	    display host platform of GHC

     --print-ld-flags <#ghc-flag-print-ld-flags>
	    display linker flags used to compile GHC

     --print-leading-underscore <#ghc-flag-print-leading-underscore>
	    display use of leading underscores on symbol names

     --print-libdir <#ghc-flag-print-libdir>
	    display GHC library directory

     --print-object-splitting-supported <#
     ghc-flag-print-object-splitting-supported>
	    display whether GHC supports object splitting

     --print-project-git-commit-id <#ghc-flag-print-project-git-commit-id>
	    display Git commit id GHC is built from

     --print-project-version <#ghc-flag-print-project-version>
	    display GHC version

     --print-rts-ways <#ghc-flag-print-rts-ways>
	    display which way RTS was built

     --print-stage <#ghc-flag-print-stage>
	    display stage number of GHC

     --print-support-smp <#ghc-flag-print-support-smp>
	    display whether GHC was compiled with SMP support

     --print-tables-next-to-code <#ghc-flag-print-tables-next-to-code>
	    display whether GHC was compiled with --enable-tables-next-to-code

     --print-target-platform <#ghc-flag-print-target-platform>
	    display target platform of GHC

     --print-unregisterised <#ghc-flag-print-unregisterised>
	    display whether this GHC was built in unregisterised mode

     --run ^a"file^a(C) <#ghc-flag-run-file>
	    Run a Haskell program.

     --show-iface ^a"file^a(C) <#ghc-flag-show-iface-file>
	    display the contents of an interface file.

     --show-options <#ghc-flag-show-options>
	    display the supported command line options

     --supported-extensions <#ghc-flag-supported-extensions>
	    display the supported language extensions

     --version <#ghc-flag-version>
	    display GHC version

     -e ^a"expr^a(C) <#ghc-flag-e-expr>
	    Evaluate expr; see Expression evaluation mode <#eval-mode>	for  de-
	    tails.

     -M <#ghc-flag-M>
	    generate  dependency information suitable for use in a Makefile; see
	    Dependency generation <#makefile-dependencies> for details.

     -shared <#ghc-flag-shared>
	    Create a shared object.

   Individual optimizations
     -fasm-shortcutting <#ghc-flag-fasm-shortcutting>
	    Enable shortcutting on assembly. Implied by -O2 <#ghc-flag-O2>.

     -fbinary-blob-threshold=^a"n^a(C) <#ghc-flag-fbinary-blob-threshold-n>
	    default: 500K. Tweak assembly generator for binary blobs.

     -fblock-layout-cfg <#ghc-flag-fblock-layout-cfg>
	    Use the new cfg based block  layout  algorithm.  Implied  by  -O  <#
	    ghc-flag-O>.

     -fblock-layout-weightless <#ghc-flag-fblock-layout-weightless>
	    Ignore cfg weights for code layout.

     -fblock-layout-weights <#ghc-flag-fblock-layout-weights>
	    Sets edge weights used by the new code layout algorithm.

     -fcall-arity <#ghc-flag-fcall-arity>
	    Enable call-arity optimisation. Implied by -O <#ghc-flag-O>.

     -fcase-folding <#ghc-flag-fcase-folding>
	    Enable  constant  folding  in  case  expressions.  Implied	by -O <#
	    ghc-flag-O>.

     -fcase-merge <#ghc-flag-fcase-merge>
	    Enable case-merging. Implied by -O <#ghc-flag-O>.

     -fcmm-control-flow <#ghc-flag-fcmm-control-flow>
	    Enable control flow optimisation in the Cmm backend. Implied  by  -O
	    <#ghc-flag-O>.

     -fcmm-elim-common-blocks <#ghc-flag-fcmm-elim-common-blocks>
	    Enable Cmm common block elimination. Implied by -O <#ghc-flag-O>.

     -fcmm-sink <#ghc-flag-fcmm-sink>
	    Enable Cmm sinking. Implied by -O <#ghc-flag-O>.

     -fcmm-static-pred <#ghc-flag-fcmm-static-pred>
	    Enable static control flow prediction. Implied by -O <#ghc-flag-O>.

     -fcore-constant-folding <#ghc-flag-fcore-constant-folding>
	    Enable constant folding in Core. Implied by -O <#ghc-flag-O>.

     -fcpr-anal <#ghc-flag-fcpr-anal>
	    Turn  on  Constructed  Product  Result  analysis.  Implied	by -O <#
	    ghc-flag-O>.

     -fcross-module-specialise <#ghc-flag-fcross-module-specialise>
	    Turn on specialisation of overloaded functions imported  from  other
	    modules. Implied by -O <#ghc-flag-O>.

     -fcse <#ghc-flag-fcse>
	    Enable   common   sub-expression   elimination.  Implied  by  -O  <#
	    ghc-flag-O>.

     -fdicts-cheap <#ghc-flag-fdicts-cheap>
	    Make dictionary-valued expressions seem cheap to the optimiser.

     -fdicts-strict <#ghc-flag-fdicts-strict>
	    Make dictionaries strict. Implied by -O2 <#ghc-flag-O2>.

     -fdmd-tx-dict-sel <#ghc-flag-fdmd-tx-dict-sel>
	    (deprecated) Use a special demand transformer for dictionary  selec-
	    tors.

     -fdmd-unbox-width=^a"n^a(C) <#ghc-flag-fdmd-unbox-width-n>
	    default: 3. Boxity analysis pretends that returned records with this
	    many fields can be unboxed.

     -fdo-clever-arg-eta-expansion <#ghc-flag-fdo-clever-arg-eta-expansion>
	    Enable  sophisticated  argument  eta-expansion.  Implied  by  -O2 <#
	    ghc-flag-O2>.

     -fdo-eta-reduction <#ghc-flag-fdo-eta-reduction>
	    Enable eta-reduction. Always enabled by default.

     -fdo-lambda-eta-expansion <#ghc-flag-fdo-lambda-eta-expansion>
	    Enable lambda eta-expansion. Always enabled by default.

     -feager-blackholing <#ghc-flag-feager-blackholing>
	    Turn on eager blackholing <#parallel-compile-options>

     -fenable-rewrite-rules <#ghc-flag-fenable-rewrite-rules>
	    Switch on all rewrite rules (including rules generated by  automatic
	    specialisation   of   overloaded   functions).   Implied  by  -O  <#
	    ghc-flag-O>.

     -fexcess-precision <#ghc-flag-fexcess-precision>
	    Enable excess intermediate precision

     -fexitification <#ghc-flag-fexitification>
	    Enables exitification optimisation. Implied by -O <#ghc-flag-O>.

     -fexpose-all-unfoldings <#ghc-flag-fexpose-all-unfoldings>
	    Expose all unfoldings, even for very large or recursive functions.

     -fexpose-overloaded-unfoldings <#ghc-flag-fexpose-overloaded-unfoldings>
	    Expose unfoldings carrying constraints, even for very large  or  re-
	    cursive functions.

     -ffloat-in <#ghc-flag-ffloat-in>
	    Turn on the float-in transformation. Implied by -O <#ghc-flag-O>.

     -ffull-laziness <#ghc-flag-ffull-laziness>
	    Turn  on  full laziness (floating bindings outwards).  Implied by -O
	    <#ghc-flag-O>.

     -ffun-to-thunk <#ghc-flag-ffun-to-thunk>
	    (deprecated) superseded by -ffull-laziness.

     -fignore-asserts <#ghc-flag-fignore-asserts>
	    Ignore assertions in the source. Implied by -O <#ghc-flag-O>.

     -fignore-interface-pragmas <#ghc-flag-fignore-interface-pragmas>
	    Ignore   pragmas   in   interface	files.	 Implied   by	-O0   <#
	    ghc-flag--Oa"na(C)> only.

     -finline-generics <#ghc-flag-finline-generics>
	    Annotate  methods of derived Generic and Generic1 instances with IN-
	    LINE[1] pragmas based on heuristics. Implied by -O <#ghc-flag-O>.

     -finline-generics-aggressively <#ghc-flag-finline-generics-aggressively>
	    Annotate methods of all derived Generic and Generic1 instances  with
	    INLINE[1] pragmas.

     -finter-module-far-jumps <#ghc-flag-finter-module-far-jumps>
	    Assume code sections can be very large.

     -fkeep-auto-rules <#ghc-flag-fkeep-auto-rules>
	    Keep all "auto" rules, generated by specialisation

     -flate-dmd-anal <#ghc-flag-flate-dmd-anal>
	    Run demand analysis again, at the end of the simplification pipeline

     -flate-specialise <#ghc-flag-flate-specialise>
	    Run a late specialisation pass

     -fliberate-case <#ghc-flag-fliberate-case>
	    Turn   on  the  liberate-case  transformation.  Implied  by  -O2  <#
	    ghc-flag-O2>.

     -fliberate-case-threshold=^a"n^a(C) <#ghc-flag-fliberate-case-threshold-n>
	    default: 2000. Set the size threshold for the  liberate-case  trans-
	    formation to a"na(C)

     -fllvm-pass-vectors-in-regs <#ghc-flag-fllvm-pass-vectors-in-regs>
	    (deprecated) Does nothing

     -flocal-float-out <#ghc-flag-flocal-float-out>
	    Enable local floating definitions out of let-binds.

     -flocal-float-out-top-level <#ghc-flag-flocal-float-out-top-level>
	    Enable local floating to float top-level bindings

     -floopification <#ghc-flag-floopification>
	    Turn  saturated  self-recursive  tail-calls  into local jumps in the
	    generated assembly. Implied by -O <#ghc-flag-O>.

     -fmax-forced-spec-args=^a"n^a(C) <#ghc-flag-fmax-forced-spec-args-n>
	    default: 333. Maximum number of value  arguments  for  forced  Spec-
	    Constr specializations.

     -fmax-inline-alloc-size=^a"n^a(C) <#ghc-flag-fmax-inline-alloc-size-n>
	    default:  128.  Set  the maximum size of inline array allocations to
	    a"na(C) bytes (default: 128).

     -fmax-inline-memcpy-insns=^a"n^a(C) <#ghc-flag-fmax-inline-memcpy-insns-n>
	    default: 32. Inline memcpy calls if they would generate no more than
	    a"na(C) pseudo instructions.

     -fmax-inline-memset-insns=^a"n^a(C) <#ghc-flag-fmax-inline-memset-insns-n>
	    default: 32. Inline memset calls if they would generate no more than
	    a"na(C) pseudo instructions

     -fmax-simplifier-iterations=^a"n^a(C) <#
     ghc-flag-fmax-simplifier-iterations-n>
	    default: 4. Set the max iterations for the simplifier.

     -fmax-uncovered-patterns=^a"n^a(C) <#ghc-flag-fmax-uncovered-patterns-n>
	    default: 4. Set the maximum number of patterns to display  in  warn-
	    ings about non-exhaustive ones.

     -fmax-worker-args=^a"n^a(C) <#ghc-flag-fmax-worker-args-n>
	    default: 10. Maximum number of value arguments for a worker.

     -fno-opt-coercion <#ghc-flag-fno-opt-coercion>
	    Turn off the coercion optimiser

     -fno-pre-inlining <#ghc-flag-fno-pre-inlining>
	    Turn off pre-inlining

     -fno-state-hack <#ghc-flag-fno-state-hack>
	    Turn  off  the  state hackwhereby any lambda with a real-world state
	    token as argument is considered to be single-entry. Hence OK to  in-
	    line things inside it.

     -fobject-determinism <#ghc-flag-fobject-determinism>
	    Produce fully deterministic object code

     -fomit-interface-pragmas <#ghc-flag-fomit-interface-pragmas>
	    Don't    generate	 interface    pragmas.	 Implied   by	-O0   <#
	    ghc-flag--Oa"na(C)> only.

     -fomit-yields <#ghc-flag-fomit-yields>
	    Omit heap checks when no allocation is being performed.

     -foptimal-applicative-do <#ghc-flag-foptimal-applicative-do>
	    Use a slower but better algorithm for ApplicativeDo

     -fpedantic-bottoms <#ghc-flag-fpedantic-bottoms>
	    Make GHC be more precise about its treatment of bottom (but see also
	    -fno-state-hack <#ghc-flag-fno-state-hack>). In particular, GHC will
	    not eta-expand through a case expression.

     -fpolymorphic-specialisation <#ghc-flag-fpolymorphic-specialisation>
	    Allow specialisation to abstract over free type variables

     -fregs-graph <#ghc-flag-fregs-graph>
	    Use the graph colouring register allocator for  register  allocation
	    in the native code generator.

     -fregs-iterative <#ghc-flag-fregs-iterative>
	    Use  the  iterative coalescing graph colouring register allocator in
	    the native code generator.

     -fsimpl-tick-factor=^a"n^a(C) <#ghc-flag-fsimpl-tick-factor-n>
	    default: 100. Set the percentage factor for simplifier ticks.

     -fsimplifier-phases=^a"n^a(C) <#ghc-flag-fsimplifier-phases-n>
	    default: 2. Set the number of phases for  the  simplifier.	 Ignored
	    with -O0 <#ghc-flag--Oa"na(C)>.

     -fsolve-constant-dicts <#ghc-flag-fsolve-constant-dicts>
	    When  solving  constraints, try to eagerly solve super classes using
	    available dictionaries. Implied by -O <#ghc-flag-O>.

     -fspec-constr <#ghc-flag-fspec-constr>
	    Turn  on  the  SpecConstr  transformation.	 Implied   by	-O2   <#
	    ghc-flag-O2>.

     -fspec-constr-count=^a"n^a(C) <#ghc-flag-fspec-constr-count-n>
	    default:  3.*  Set	to a"na(C) the maximum number of specialisations
	    that will be created for any one function by the  SpecConstr  trans-
	    formation.

     -fspec-constr-keen <#ghc-flag-fspec-constr-keen>
	    Specialize a call with an explicit constructor argument, even if the
	    argument is not scrutinised in the body of the function

     -fspec-constr-threshold=^a"n^a(C) <#ghc-flag-fspec-constr-threshold-n>
	    default: 2000. Set the size threshold for the SpecConstr transforma-
	    tion to a"na(C).

     -fspec-eval <#ghc-flag-fspec-eval>
	    Enables speculative evaluation.

     -fspec-eval-dictfun <#ghc-flag-fspec-eval-dictfun>
	    Enables speculative evaluation of dictionary functions.

     -fspecialise <#ghc-flag-fspecialise>
	    Turn  on  specialisation  of  overloaded functions. Implied by -O <#
	    ghc-flag-O>.

     -fspecialise-aggressively <#ghc-flag-fspecialise-aggressively>
	    Turn on specialisation of overloaded functions regardless  of  size,
	    if unfolding is available

     -fspecialise-incoherents <#ghc-flag-fspecialise-incoherents>
	    Enable specialisation on incoherent instances

     -fstatic-argument-transformation <#
     ghc-flag-fstatic-argument-transformation>
	    Turn on the static argument transformation.

     -fstg-cse <#ghc-flag-fstg-cse>
	    Enable  common  sub-expression  elimination  on the STG intermediate
	    language. Implied by -O <#ghc-flag-O>.

     -fstg-lift-lams <#ghc-flag-fstg-lift-lams>
	    Enable late lambda lifting on the STG intermediate language. Implied
	    by -O2 <#ghc-flag-O2>.

     -fstg-lift-lams-known <#ghc-flag-fstg-lift-lams-known>
	    Allow turning known into unknown calls while performing late  lambda
	    lifting.

     -fstg-lift-lams-non-rec-args <#ghc-flag-fstg-lift-lams-non-rec-args>
	    Create top-level non-recursive functions with at most <n> parameters
	    while performing late lambda lifting.

     -fstg-lift-lams-rec-args <#ghc-flag-fstg-lift-lams-rec-args>
	    Create  top-level  recursive  functions  with at most <n> parameters
	    while performing late lambda lifting.

     -fstrictness <#ghc-flag-fstrictness>
	    Turn on demand  analysis.	Implied  by  -O  <#ghc-flag-O>.  Implies
	    -fworker-wrapper <#ghc-flag-fworker-wrapper>

     -fstrictness-before=^a"n^a(C) <#ghc-flag-fstrictness-before-n>
	    Run an additional demand analysis before simplifier phase a"na(C)

     -funbox-small-strict-fields <#ghc-flag-funbox-small-strict-fields>
	    Flatten  strict  constructor fields with a pointer-sized representa-
	    tion. Implied by -O <#ghc-flag-O>.

     -funbox-strict-fields <#ghc-flag-funbox-strict-fields>
	    Flatten strict constructor fields

     -funfolding-case-scaling=^a"n^a(C) <#ghc-flag-funfolding-case-scaling-n>
	    default: 30. Apply a penalty of (inlining_cost * 1/n) for each level
	    of case nesting.

     -funfolding-case-threshold=^a"n^a(C) <#ghc-flag-funfolding-case-threshold-n>
	    default: 2. Reduce inlining for cases nested deeper than n.

     -funfolding-creation-threshold=^a"n^a(C) <#
     ghc-flag-funfolding-creation-threshold-n>
	    default: 750. Tweak unfolding settings.

     -funfolding-dict-discount=^a"n^a(C) <#ghc-flag-funfolding-dict-discount-n>
	    default: 30. Tweak unfolding settings.

     -funfolding-fun-discount=^a"n^a(C) <#ghc-flag-funfolding-fun-discount-n>
	    default: 60. Tweak unfolding settings.

     -funfolding-keeness-factor=^a"n^a(C) <#ghc-flag-funfolding-keeness-factor-n>
	    This has been deprecated in GHC 9.0.1.

     -funfolding-use-threshold=^a"n^a(C) <#ghc-flag-funfolding-use-threshold-n>
	    default: 90. Tweak unfolding settings.

     -fworker-wrapper <#ghc-flag-fworker-wrapper>
	    Enable  the  worker/wrapper  transformation.  Implied   by	 -O   <#
	    ghc-flag-O> and by -fstrictness <#ghc-flag-fstrictness>.

     -fworker-wrapper-cbv <#ghc-flag-fworker-wrapper-cbv>
	    Enable w/w splits for wrappers whos sole purpose is evaluating argu-
	    ments.

     -fwrite-if-compression=^a"n^a(C) <#ghc-flag-fwrite-if-compression-n>
	    default: 2. Tweak the level of interface file compression.

   Optimization levels
     -O <#ghc-flag-O>
	    Enable level 1 optimisations

     -O0 <#ghc-flag--O^a"n^a(C)>
	    Disable optimisations (default)

     -O2 <#ghc-flag-O2>
	    Enable level 2 optimisations

     -O^a"n^a(C) <#ghc-flag-On>
	    Any -On where n > 2 is the same as -O2.

   Package options
     -clear-package-db <#ghc-flag-clear-package-db>
	    Clear the package db stack.

     -distrust ^a"pkg^a(C) <#ghc-flag-distrust-pkg>
	    Expose  package  a"pkga(C)	and  set  it  to be distrusted. See Safe
	    Haskell <#safe-haskell>.

     -distrust-all-packages <#ghc-flag-distrust-all-packages>
	    Distrust all packages by default. See Safe Haskell <#safe-haskell>.

     -fpackage-trust <#ghc-flag-fpackage-trust>
	    Enable Safe Haskell <#safe-haskell> trusted package requirement  for
	    trustworthy modules.

     -global-package-db <#ghc-flag-global-package-db>
	    Add the global package db to the stack.

     -hide-all-packages <#ghc-flag-hide-all-packages>
	    Hide all packages by default

     -hide-package ^a"pkg^a(C) <#ghc-flag-hide-package-pkg>
	    Hide package a"pkga(C)

     -ignore-package ^a"pkg^a(C) <#ghc-flag-ignore-package-pkg>
	    Ignore package a"pkga(C)

     -no-auto-link-packages <#ghc-flag-no-auto-link-packages>
	    Don't automatically link in the base and rts packages.

     -no-global-package-db <#ghc-flag-no-global-package-db>
	    Remove the global package db from the stack.

     -no-user-package-db <#ghc-flag-no-user-package-db>
	    Remove the user's package db from the stack.

     -package ^a"pkg^a(C) <#ghc-flag-package-pkg>
	    Expose package a"pkga(C)

     -package-db ^a"file^a(C) <#ghc-flag-package-db-file>
	    Add a"filea(C) to the package db stack.

     -package-env ^a"file^a(C)|^a"name^a(C) <#ghc-flag-package-env-file-name>
	    Use the specified package environment.

     -package-id ^a"unit-id^a(C) <#ghc-flag-package-id-unit-id>
	    Expose package by id a"unit-ida(C)

     -this-unit-id ^a"unit-id^a(C) <#ghc-flag-this-unit-id-unit-id>
	    Compile to be part of unit (i.e. package) a"unit-ida(C)

     -trust ^a"pkg^a(C) <#ghc-flag-trust-pkg>
	    Expose  package a"pkga(C) and set it to be trusted. See Safe Haskell
	    <#safe-haskell>.

     -user-package-db <#ghc-flag-user-package-db>
	    Add the user's package db to the stack.

   Phases of compilation
     --merge-objs <#ghc-flag-merge-objs>
	    Merge a set of objects into a GHCi library.

     -C <#ghc-flag-C>
	    Stop after generating C (.hc file)

     -c <#ghc-flag-c>
	    Stop after generating object (.o) file

     -E <#ghc-flag-E>
	    Stop after preprocessing (.hspp file)

     -F <#ghc-flag-F>
	    Enable the use of a pre-processor <#pre-processor> (set  with  -pgmF
	    ^a"cmd^a(C) <#ghc-flag-pgmF-cmd>)

     -S <#ghc-flag-S>
	    Stop after generating assembly (.s file)

     -x ^a"suffix^a(C) <#ghc-flag-x-suffix>
	    Override default behaviour for source files

   Overriding external programs
     -pgma ^a"cmd^a(C) <#ghc-flag-pgma-cmd>
	    Use a"cmda(C) as the assembler

     -pgmc ^a"cmd^a(C) <#ghc-flag-pgmc-cmd>
	    Use a"cmda(C) as the C compiler

     -pgmCmmP ^a"cmd^a(C) <#ghc-flag-pgmCmmP-cmd>
	    Use a"cmda(C) as the C-- C pre-processor

     -pgmcxx ^a"cmd^a(C) <#ghc-flag-pgmcxx-cmd>
	    Use a"cmda(C) as the C++ compiler

     -pgmF ^a"cmd^a(C) <#ghc-flag-pgmF-cmd>
	    Use a"cmda(C) as the pre-processor (with -F <#ghc-flag-F> only)

     -pgmi ^a"cmd^a(C) <#ghc-flag-pgmi-cmd>
	    Use a"cmda(C) as the external interpreter command.

     -pgminstall_name_tool ^a"cmd^a(C) <#ghc-flag-pgminstall_name_tool-cmd>
	    Use a"cmda(C) as the program to inject runpath into mach-o dylibs on
	    macOS

     -pgmJSP ^a"cmd^a(C) <#ghc-flag-pgmJSP-cmd>
	    Use   a"cmda(C)   as   the	JavaScript  C  pre-processor  (only  for
	    javascript-backend)

     -pgmL ^a"cmd^a(C) <#ghc-flag-pgmL-cmd>
	    Use a"cmda(C) as the literate pre-processor

     -pgml ^a"cmd^a(C) <#ghc-flag-pgml-cmd>
	    Use a"cmda(C) as the linker

     -pgmlas ^a"cmd^a(C) <#ghc-flag-pgmlas-cmd>
	    Use a"cmda(C) as the LLVM assembler

     -pgmlc ^a"cmd^a(C) <#ghc-flag-pgmlc-cmd>
	    Use a"cmda(C) as the LLVM compiler

     -pgmlm ^a"cmd^a(C) <#ghc-flag-pgmlm-cmd>
	    Use a"cmda(C) as the linker when merging object files

     -pgmlo ^a"cmd^a(C) <#ghc-flag-pgmlo-cmd>
	    Use a"cmda(C) as the LLVM optimiser

     -pgmotool ^a"cmd^a(C) <#ghc-flag-pgmotool-cmd>
	    Use a"cmda(C) as the program to inspect mach-o dylibs on macOS

     -pgmP ^a"cmd^a(C) <#ghc-flag-pgmP-cmd>
	    Use a"cmda(C) as the  C  pre-processor  (with  -cpp  <#ghc-flag-cpp>
	    only)

     -pgms ^a"cmd^a(C) <#ghc-flag-pgms-cmd>
	    Use a"cmda(C) as the splitter

     -pgmwindres ^a"cmd^a(C) <#ghc-flag-pgmwindres-cmd>
	    Use a"cmda(C) as the program for embedding manifests on Windows.

   Phase-specific options
     -opta ^a"option^a(C) <#ghc-flag-opta-option>
	    pass a"optiona(C) to the assembler

     -optc ^a"option^a(C) <#ghc-flag-optc-option>
	    pass a"optiona(C) to the C compiler

     -optCmmP ^a"option^a(C) <#ghc-flag-optCmmP-option>
	    pass a"optiona(C) to the C-- C pre-processor.

     -optcxx ^a"option^a(C) <#ghc-flag-optcxx-option>
	    pass a"optiona(C) to the C++ compiler

     -optF ^a"option^a(C) <#ghc-flag-optF-option>
	    pass a"optiona(C) to the custom pre-processor

     -opti ^a"option^a(C) <#ghc-flag-opti-option>
	    pass a"optiona(C) to the interpreter sub-process.

     -optJSP ^a"option^a(C) <#ghc-flag-optJSP-option>
	    pass   a"optiona(C)   to   JavaScript   C  pre-processor  (only  for
	    javascript-backend)

     -optL ^a"option^a(C) <#ghc-flag-optL-option>
	    pass a"optiona(C) to the literate pre-processor

     -optl ^a"option^a(C) <#ghc-flag-optl-option>
	    pass a"optiona(C) to the linker

     -optlas ^a"option^a(C) <#ghc-flag-optlas-option>
	    pass a"optiona(C) to the LLVM assembler

     -optlc ^a"option^a(C) <#ghc-flag-optlc-option>
	    pass a"optiona(C) to the LLVM compiler

     -optlm ^a"option^a(C) <#ghc-flag-optlm-option>
	    pass a"optiona(C) to the linker when merging object files.

     -optlo ^a"option^a(C) <#ghc-flag-optlo-option>
	    pass a"optiona(C) to the LLVM optimiser

     -optP ^a"option^a(C) <#ghc-flag-optP-option>
	    pass a"optiona(C) to cpp (with -cpp <#ghc-flag-cpp> only)

     -optwindres ^a"option^a(C) <#ghc-flag-optwindres-option>
	    pass a"optiona(C) to windres.

     -pgmc-supports-no-pie <#ghc-flag-pgmc-supports-no-pie>
	    (deprecated) Indicate that the linker supports -no-pie

     -pgml-supports-no-pie <#ghc-flag-pgml-supports-no-pie>
	    Indicate that the linker supports -no-pie

   Platform-specific options
     -mavx <#ghc-flag-mavx>
	    (x86 only) Enable support for AVX SIMD extensions

     -mavx2 <#ghc-flag-mavx2>
	    (x86 only) Enable support for AVX2 SIMD extensions

     -mavx512cd <#ghc-flag-mavx512cd>
	    (x86 only) Enable support for AVX512-CD SIMD extensions

     -mavx512er <#ghc-flag-mavx512er>
	    (x86 only) Enable support for AVX512-ER SIMD extensions

     -mavx512f <#ghc-flag-mavx512f>
	    (x86 only) Enable support for AVX512-F SIMD extensions

     -mavx512pf <#ghc-flag-mavx512pf>
	    (x86 only) Enable support for AVX512-PF SIMD extensions

     -mbmi <#ghc-flag-mbmi>
	    (x86 only) Use BMI1 for bit manipulation operations

     -mbmi2 <#ghc-flag-mbmi2>
	    (x86 only) Use BMI2 for bit manipulation operations

     -mfma <#ghc-flag-mfma>
	    Use native FMA instructions for  fused  multiply-add  floating-point
	    operations

     -msse <#ghc-flag-msse>
	    (x86 only) Use SSE for floating-point operations

     -msse2 <#ghc-flag-msse2>
	    (x86 only) Use SSE2 for floating-point operations

     -msse3 <#ghc-flag-msse3>
	    (x86 only) Use SSE3 for floating-point operations

     -msse4 <#ghc-flag-msse4>
	    (x86 only) Use SSE4 for floating-point operations

     -msse4.2 <#ghc-flag-msse4.2>
	    (x86 only) Use SSE4.2 for floating-point operations

   Compiler plugins
     -fclear-plugins <#ghc-flag-fclear-plugins>
	    Clear the list of active plugins

     -fplugin-library=^a"file-path^a(C);^a"unit-id^a(C);^a"module^a(C);^a"args^a(C) <#
     ghc-flag-fplugin-library-file-path-unit-id-module-args>
	    Load a pre-compiled static plugin from an external library

     -fplugin-opt=^a"module^a(C):^a"args^a(C) <#ghc-flag-fplugin-opt-module-args>
	    Give  arguments  to  a  plugin module; module must be specified with
	    -fplugin=^a"module^a(C) <#ghc-flag-fplugin-module>

     -fplugin-trustworthy <#ghc-flag-fplugin-trustworthy>
	    Trust the used plugins and no longer mark the compiled module as un-
	    safe

     -fplugin=^a"module^a(C) <#ghc-flag-fplugin-module>
	    Load a plugin exported by a given module

     -hide-all-plugin-packages <#ghc-flag-hide-all-plugin-packages>
	    Hide all packages for plugins by default

     -plugin-package ^a"pkg^a(C) <#ghc-flag-plugin-package-pkg>
	    Expose a"pkga(C) for plugins

     -plugin-package-id ^a"pkg-id^a(C) <#ghc-flag-plugin-package-id-pkg-id>
	    Expose a"pkg-ida(C) for plugins

   Profiling
     -auto <#ghc-flag-auto>
	    (deprecated)      Alias	 for	   -fprof-auto-exported       <#
	    ghc-flag-fprof-auto-exported>

     -auto-all <#ghc-flag-auto-all>
	    (deprecated) Alias for -fprof-auto <#ghc-flag-fprof-auto>

     -caf-all <#ghc-flag-caf-all>
	    (deprecated) Alias for -fprof-cafs <#ghc-flag-fprof-cafs>

     -fno-prof-count-entries <#ghc-flag-fno-prof-count-entries>
	    Do not collect entry counts

     -fprof-auto <#ghc-flag-fprof-auto>
	    Auto-add SCC\ s to all bindings not marked INLINE

     -fprof-auto-calls <#ghc-flag-fprof-auto-calls>
	    Auto-add SCC\ s to all call sites

     -fprof-auto-exported <#ghc-flag-fprof-auto-exported>
	    Auto-add  SCC\  s  to  all	exported  bindings  not marked INLINE <#
	    pragma-INLINE>

     -fprof-auto-top <#ghc-flag-fprof-auto-top>
	    Auto-add SCC\ s to all top-level bindings not marked INLINE

     -fprof-cafs <#ghc-flag-fprof-cafs>
	    Auto-add SCC\ s to all CAFs

     -fprof-callers=^a"name^a(C) <#ghc-flag-fprof-callers-name>
	    Auto-add SCC\ s to all call-sites of the named function.

     -fprof-late <#ghc-flag-fprof-late>
	    Auto-add SCC\ s to all top level bindings after  the  core	pipeline
	    has run.

     -fprof-late-inline <#ghc-flag-fprof-late-inline>
	    Auto-add  SCC\  s  to all top level bindings after the optimizer has
	    run and retain them when inlining.

     -fprof-late-overloaded <#ghc-flag-fprof-late-overloaded>
	    Auto-add SCC\ s to all top level overloaded bindings after the  core
	    pipeline has run.

     -fprof-late-overloaded-calls <#ghc-flag-fprof-late-overloaded-calls>
	    Auto-add  SCC\ s to all call sites that include dictionary arguments
	    after the core pipeline has run.

     -fprof-manual <#ghc-flag-fprof-manual>
	    Process manual SCC annotations.

     -no-auto <#ghc-flag-no-auto>
	    (deprecated) Alias for -fno-prof-auto <#ghc-flag--fprof-auto-calls>

     -no-auto-all <#ghc-flag-no-auto-all>
	    (deprecated) Alias for -fno-prof-auto <#ghc-flag--fprof-auto-calls>

     -no-caf-all <#ghc-flag-no-caf-all>
	    (deprecated) Alias for -fno-prof-cafs <#ghc-flag--fprof-cafs>

     -prof <#ghc-flag-prof>
	    Turn on profiling

     -ticky <#ghc-flag-ticky>
	    Turn on ticky-ticky profiling <#ticky-ticky>

     -ticky-allocd <#ghc-flag-ticky-allocd>
	    Track the number of times each closure type is allocated.

     -ticky-ap-thunk <#ghc-flag-ticky-ap-thunk>
	    Don't use standard AP thunks on order to  get  more  reliable  entry
	    counters.

     -ticky-dyn-thunk <#ghc-flag-ticky-dyn-thunk>
	    Track allocations of dynamic thunks

     -ticky-LNE <#ghc-flag-ticky-LNE>
	    Treat join point binders similar to thunks/functions.

     -ticky-tag-checks <#ghc-flag-ticky-tag-checks>
	    Emit  dummy  ticky	counters to record how many tag-inference checks
	    tag inference avoided.

   Program coverage
     -fhpc <#ghc-flag-fhpc>
	    Turn on Haskell program coverage instrumentation

     -hpcdir^a"dir^a(C) <#ghc-flag-hpcdirdir>
	    Set the directory where GHC places .mix files.

   Recompilation checking
     -exclude-module=^a"file^a(C) <#ghc-flag-exclude-module-file>
	    Regard ^a"file^a(C) as "stable"; i.e., exclude it from  having  depen-
	    dencies on it.

     -fforce-recomp <#ghc-flag-fforce-recomp>
	    Turn off recompilation checking. This is implied by any -ddump-X op-
	    tion   when   compiling  a	single	file  (i.e.  when  using  -c  <#
	    ghc-flag-c>).

     -fignore-hpc-changes <#ghc-flag-fignore-hpc-changes>
	    Do not recompile modules just to match changes to HPC flags. This is
	    especially useful for avoiding recompilation when using GHCi, and is
	    enabled by default for GHCi.

     -fignore-optim-changes <#ghc-flag-fignore-optim-changes>
	    Do not recompile modules  just  to	match  changes	to  optimisation
	    flags. This is especially useful for avoiding recompilation when us-
	    ing GHCi, and is enabled by default for GHCi.

     -include-cpp-deps <#ghc-flag-include-cpp-deps>
	    Include preprocessor dependencies

     -include-pkg-deps <#ghc-flag-include-pkg-deps>
	    Regard modules imported from packages as unstable

   Redirecting output
     -dep-makefile ^a"file^a(C) <#ghc-flag-dep-makefile-file>
	    Use a"filea(C) as the makefile

     -dep-suffix ^a"suffix^a(C) <#ghc-flag-dep-suffix-suffix>
	    Make    dependencies   that   declare   that   files   with   suffix
	    .^a"suf^a(C)^a"osuf^a(C)  depend  on   interface   files   with   suffix
	    .^a"suf^a(C)hi

     -dumpdir ^a"dir^a(C) <#ghc-flag-dumpdir-dir>
	    redirect dump files

     -dynhisuf ^a"suffix^a(C) <#ghc-flag-dynhisuf-suffix>
	    set the suffix to use for dynamic interface files

     -dyno ^a"file^a(C) <#ghc-flag-dyno-file>
	    set dynamic output filename

     -dynohi ^a"file^a(C) <#ghc-flag-dynohi-file>
	    set the filename in which to put the dynamic interface

     -dynosuf ^a"suffix^a(C) <#ghc-flag-dynosuf-suffix>
	    set the dynamic output file suffix

     -hcsuf ^a"suffix^a(C) <#ghc-flag-hcsuf-suffix>
	    set the suffix to use for intermediate C files

     -hidir ^a"dir^a(C) <#ghc-flag-hidir-dir>
	    set directory for interface files

     -hiedir ^a"dir^a(C) <#ghc-flag-hiedir-dir>
	    set directory for extended interface files

     -hiesuf ^a"suffix^a(C) <#ghc-flag-hiesuf-suffix>
	    set the suffix to use for extended interface files

     -hisuf ^a"suffix^a(C) <#ghc-flag-hisuf-suffix>
	    set the suffix to use for interface files

     -o ^a"file^a(C) <#ghc-flag-o-file>
	    set output filename

     -odir ^a"dir^a(C) <#ghc-flag-odir-dir>
	    set directory for object files

     -ohi ^a"file^a(C) <#ghc-flag-ohi-file>
	    set the filename in which to put the interface

     -osuf ^a"suffix^a(C) <#ghc-flag-osuf-suffix>
	    set the output file suffix

     -outputdir ^a"dir^a(C) <#ghc-flag-outputdir-dir>
	    set output directory

     -stubdir ^a"dir^a(C) <#ghc-flag-stubdir-dir>
	    redirect FFI stub files

   Temporary files
     -tmpdir ^a"dir^a(C) <#ghc-flag-tmpdir-dir>
	    set the directory for temporary files

   Verbosity options
     -fabstract-refinement-hole-fits <#ghc-flag-fabstract-refinement-hole-fits>
	    default:  off.  Toggles whether refinements where one or more of the
	    holes are abstract are reported.

     -fdefer-diagnostics <#ghc-flag-fdefer-diagnostics>
	    Defer and group diagnostic messages by severity

     -fdiagnostics-as-json <#ghc-flag-fdiagnostics-as-json>
	    Output diagnostics in Json format specified by JSON schema

     -fdiagnostics-color=^a"always|auto|never^a(C) <#
     ghc-flag-fdiagnostics-color-always-auto-never>
	    Use colors in error messages

     -fdiagnostics-show-caret <#ghc-flag-fdiagnostics-show-caret>
	    Whether to show snippets of original source code

     -ferror-spans <#ghc-flag-ferror-spans>
	    Output full span in error messages

     -fhide-source-paths <#ghc-flag-fhide-source-paths>
	    hide module source and object paths

     -fkeep-going <#ghc-flag-fkeep-going>
	    Continue compilation as far as possible on errors

     -fmax-refinement-hole-fits=^a"n^a(C) <#ghc-flag-fmax-refinement-hole-fits-n>
	    default: 6. Set the maximum number of refinement hole fits for typed
	    holes to display in type error messages.

     -fmax-relevant-binds=^a"n^a(C) <#ghc-flag-fmax-relevant-binds-n>
	    default: 6. Set the maximum number of bindings to  display	in  type
	    error messages.

     -fmax-valid-hole-fits=^a"n^a(C) <#ghc-flag-fmax-valid-hole-fits-n>
	    default:  6.  Set  the  maximum  number of valid hole fits for typed
	    holes to display in type error messages.

     -fno-show-valid-hole-fits <#ghc-flag-fno-show-valid-hole-fits>
	    Disables showing a list of valid hole fits for typed holes	in  type
	    error messages.

     -fno-sort-valid-hole-fits <#ghc-flag-fno-sort-valid-hole-fits>
	    Disables  the sorting of the list of valid hole fits for typed holes
	    in type error messages.

     -fprint-axiom-incomps <#ghc-flag-fprint-axiom-incomps>
	    Display equation incompatibilities in closed type families

     -fprint-equality-relations <#ghc-flag-fprint-equality-relations>
	    Distinguish between equality relations when printing

     -fprint-error-index-links=^a"always|auto|never^a(C) <#
     ghc-flag-fprint-error-index-links-always-auto-never>
	    Whether to emit diagnostic codes as ANSI hyperlinks to  the  Haskell
	    Error Index.

     -fprint-expanded-synonyms <#ghc-flag-fprint-expanded-synonyms>
	    In type errors, also print type-synonym-expanded types.

     -fprint-explicit-coercions <#ghc-flag-fprint-explicit-coercions>
	    Print coercions in types

     -fprint-explicit-foralls <#ghc-flag-fprint-explicit-foralls>
	    Print  explicit  forall quantification in types.  See also Explicit-
	    ForAll <#extension-ExplicitForAll>

     -fprint-explicit-kinds <#ghc-flag-fprint-explicit-kinds>
	    Print explicit kind foralls and kind arguments in types.   See  also
	    KindSignatures <#extension-KindSignatures>

     -fprint-explicit-runtime-reps <#ghc-flag-fprint-explicit-runtime-reps>
	    Print  RuntimeRep  and  Levity  variables  in  types  which are run-
	    time-representation polymorphic.

     -fprint-potential-instances <#ghc-flag-fprint-potential-instances>
	    display all available instances in type error messages

     -fprint-redundant-promotion-ticks <#
     ghc-flag-fprint-redundant-promotion-ticks>
	    Print redundant DataKinds <#extension-DataKinds> promotion ticks

     -fprint-typechecker-elaboration <#ghc-flag-fprint-typechecker-elaboration>
	    Print extra information from typechecker.

     -fprint-unicode-syntax <#ghc-flag-fprint-unicode-syntax>
	    Use unicode syntax when printing expressions, types and kinds.   See
	    also UnicodeSyntax <#extension-UnicodeSyntax>

     -frefinement-level-hole-fits=^a"n^a(C) <#
     ghc-flag-frefinement-level-hole-fits-n>
	    default:  off.  Sets  the level of refinement of the refinement hole
	    fits, where level n means that hole fits of up to n  holes	will  be
	    considered.

     -freverse-errors <#ghc-flag-freverse-errors>
	    Output errors in reverse order

     -fshow-docs-of-hole-fits <#ghc-flag-fshow-docs-of-hole-fits>
	    Toggles  whether to show the documentation of the valid hole fits in
	    the output.

     -fshow-error-context <#ghc-flag-fshow-error-context>
	    Whether to show textual information about error context

     -fshow-hole-constraints <#ghc-flag-fshow-hole-constraints>
	    Show constraints when reporting typed holes.

     -fshow-hole-matches-of-hole-fits <#
     ghc-flag-fshow-hole-matches-of-hole-fits>
	    Toggles whether to show the type of the additional holes in  refine-
	    ment hole fits.

     -fshow-provenance-of-hole-fits <#ghc-flag-fshow-provenance-of-hole-fits>
	    Toggles whether to show the provenance of the valid hole fits in the
	    output.

     -fshow-type-app-of-hole-fits <#ghc-flag-fshow-type-app-of-hole-fits>
	    Toggles  whether to show the type application of the valid hole fits
	    in the output.

     -fshow-type-app-vars-of-hole-fits <#
     ghc-flag-fshow-type-app-vars-of-hole-fits>
	    Toggles whether to show what type each quantified variable takes  in
	    a valid hole fit.

     -fshow-type-of-hole-fits <#ghc-flag-fshow-type-of-hole-fits>
	    Toggles  whether to show the type of the valid hole fits in the out-
	    put.

     -fsort-by-size-hole-fits <#ghc-flag-fsort-by-size-hole-fits>
	    Sort valid hole fits by size.

     -fsort-by-subsumption-hole-fits <#ghc-flag-fsort-by-subsumption-hole-fits>
	    Sort valid hole fits by subsumption.

     -funclutter-valid-hole-fits <#ghc-flag-funclutter-valid-hole-fits>
	    Unclutter the list of valid hole fits by not showing provenance  nor
	    type applications of suggestions.

     -Rghc-timing <#ghc-flag-Rghc-timing>
	    Summarise timing stats for GHC (same as +RTS -tstderr).

     -v <#ghc-flag-v>
	    verbose mode (equivalent to -v3)

     -v^a"n^a(C) <#ghc-flag-vn>
	    set verbosity level

   Warnings
     -fenable-th-splice-warnings <#ghc-flag-fenable-th-splice-warnings>
	    Generate warnings for Template Haskell splices

     -fhelpful-errors <#ghc-flag-fhelpful-errors>
	    Make suggestions for mis-spelled names.

     -fmax-pmcheck-models=^a"n^a(C) <#ghc-flag-fmax-pmcheck-models-n>
	    soft  limit  on  the  number  of  parallel	models the pattern match
	    checker should check a pattern match clause against

     -fshow-warning-groups <#ghc-flag-fshow-warning-groups>
	    show which group an emitted warning belongs to.

     -fvia-C <#ghc-flag-fvia-C>
	    use the C code generator

     -W <#ghc-flag-W>
	    enable normal warnings

     -w <#ghc-flag-w>
	    disable all warnings

     -Wall <#ghc-flag-Wall>
	    enable almost all warnings (details in Warnings and  sanity-checking
	    <#options-sanity>)

     -Wall-missed-specialisations <#ghc-flag-Wall-missed-specialisations>
	    warn when specialisation of any overloaded function fails.

     -Wall-missed-specializations <#ghc-flag-Wall-missed-specializations>
	    alias	   for		-Wall-missed-specialisations	      <#
	    ghc-flag-Wall-missed-specialisations>

     -Wambiguous-fields <#ghc-flag-Wambiguous-fields>
	    warn about ambiguous field selectors or updates

     -Wauto-orphans <#ghc-flag-Wauto-orphans>
	    (deprecated) Does nothing

     -Wbadly-staged-types <#ghc-flag-Wbadly-staged-types>
	    warn when type binding is used at the wrong TH stage.

     -Wcompat <#ghc-flag-Wcompat>
	    enable future compatibility warnings (details in Warnings  and  san-
	    ity-checking <#options-sanity>)

     -Wcompat-unqualified-imports <#ghc-flag-Wcompat-unqualified-imports>
	    (deprecated)  Report unqualified imports of core libraries which are
	    expected to cause compatibility problems in future releases.

     -Wcpp-undef <#ghc-flag-Wcpp-undef>
	    warn on uses of the #if directive on undefined identifiers

     -Wdata-kinds-tc <#ghc-flag-Wdata-kinds-tc>
	    warn when an illegal use of a type	or  kind  without  DataKinds  <#
	    extension-DataKinds> is caught by the typechecker

     -Wdefault <#ghc-flag-Wdefault>
	    enable default flags

     -Wdefaulted-exception-context <#ghc-flag-Wdefaulted-exception-context>
	    warn   when   an  Control.Exception.Context.ExceptionContext  <docs/
	    users_guide/../libraries/base-4.21.2.0-inplace/Control-Exception-
	    Context.html#t:ExceptionContext> implicit parameter is defaulted  to
	    Control.Exception.Context.emptyExceptionContext   <docs/users_guide/
	    ../libraries/base-4.21.2.0-inplace/Control-Exception-Context.html#
	    v:emptyExceptionContext>.

     -Wdeferred-out-of-scope-variables <#
     ghc-flag-Wdeferred-out-of-scope-variables>
	    Report warnings when variable out-of-scope errors are deferred until
	    runtime <#defer-type-errors>.  See -fdefer-out-of-scope-variables <#
	    ghc-flag-fdefer-out-of-scope-variables>.

     -Wdeferred-type-errors <#ghc-flag-Wdeferred-type-errors>
	    Report warnings when deferred type errors  <#defer-type-errors>  are
	    enabled.  This option is enabled by default. See -fdefer-type-errors
	    <#ghc-flag-fdefer-type-errors>.

     -Wdeprecated-flags <#ghc-flag-Wdeprecated-flags>
	    warn about uses of commandline flags that are deprecated

     -Wdeprecated-type-abstractions <#ghc-flag-Wdeprecated-type-abstractions>
	    warn when type abstractions in constructor patterns are used without
	    enabling TypeApplications <#extension-TypeApplications>

     -Wdeprecations <#ghc-flag-Wdeprecations>
	    warn about uses of functions & types that have  DEPRECATED	pragmas,
	    or WARNING pragmas with the deprecated category.

     -Wderiving-defaults <#ghc-flag-Wderiving-defaults>
	    warn  about  default  deriving  when  using  both  DeriveAnyClass <#
	    extension-DeriveAnyClass>	 and	GeneralizedNewtypeDeriving    <#
	    extension-GeneralizedNewtypeDeriving>

     -Wderiving-typeable <#ghc-flag-Wderiving-typeable>
	    warn when Typeable is derived

     -Wdodgy-exports <#ghc-flag-Wdodgy-exports>
	    warn about dodgy exports

     -Wdodgy-foreign-imports <#ghc-flag-Wdodgy-foreign-imports>
	    warn about dodgy foreign imports

     -Wdodgy-imports <#ghc-flag-Wdodgy-imports>
	    warn about dodgy imports

     -Wduplicate-constraints <#ghc-flag-Wduplicate-constraints>
	    warn when a constraint appears duplicated in a type signature

     -Wduplicate-exports <#ghc-flag-Wduplicate-exports>
	    warn when an entity is exported multiple times

     -Wempty-enumerations <#ghc-flag-Wempty-enumerations>
	    warn about enumerations that are empty

     -Werror <#ghc-flag--Wwarn>
	    make warnings fatal

     -Weverything <#ghc-flag-Weverything>
	    enable all warnings supported by GHC

     -Wextended-warnings <#ghc-flag-Wextended-warnings>
	    warn about uses of functions & types that have WARNING or DEPRECATED
	    pragmas, across all categories

     -Wextra <#ghc-flag-Wextra>
	    alias for -W <#ghc-flag-W>

     -Wforall-identifier <#ghc-flag-Wforall-identifier>
	    (deprecated) Does nothing

     -Wgadt-mono-local-binds <#ghc-flag-Wgadt-mono-local-binds>
	    warn when pattern matching on a GADT without MonoLocalBinds

     -Whi-shadowing <#ghc-flag-Whi-shadowing>
	    (deprecated) warn when a .hi file in the current directory shadows a
	    library

     -Widentities <#ghc-flag-Widentities>
	    warn about uses of Prelude numeric conversions that are probably the
	    identity (and hence could be omitted)

     -Wimplicit-kind-vars <#ghc-flag-Wimplicit-kind-vars>
	    (deprecated)  warn	when  kind  variables  are implicitly quantified
	    over.

     -Wimplicit-lift <#ghc-flag-Wimplicit-lift>
	    warn about implicit lift in Template Haskell quotes

     -Wimplicit-prelude <#ghc-flag-Wimplicit-prelude>
	    warn when the Prelude is implicitly imported

     -Wimplicit-rhs-quantification <#ghc-flag-Wimplicit-rhs-quantification>
	    warn when type variables on the RHS of a type synonym are implicitly
	    quantified

     -Winaccessible-code <#ghc-flag-Winaccessible-code>
	    warn about inaccessible code

     -Wincomplete-export-warnings <#ghc-flag-Wincomplete-export-warnings>
	    warn when some but not all of exports for a name are warned about

     -Wincomplete-patterns <#ghc-flag-Wincomplete-patterns>
	    warn when a pattern match could fail

     -Wincomplete-record-selectors <#ghc-flag-Wincomplete-record-selectors>
	    warn when a record selector application could fail

     -Wincomplete-record-updates <#ghc-flag-Wincomplete-record-updates>
	    warn when a record update could fail

     -Wincomplete-uni-patterns <#ghc-flag-Wincomplete-uni-patterns>
	    warn when a pattern match in a lambda expression, pattern binding or
	    a lazy pattern could fail

     -Winconsistent-flags <#ghc-flag-Winconsistent-flags>
	    warn when command line options are inconsistent in some way.

     -Winferred-safe-imports <#ghc-flag-Winferred-safe-imports>
	    warn when an explicitly Safe Haskell module imports a  Safe-Inferred
	    one

     -Winline-rule-shadowing <#ghc-flag-Winline-rule-shadowing>
	    Warn if a rewrite RULE might fail to fire because the function might
	    be	inlined before the rule has a chance to fire.  See How rules in-
	    teract with INLINE/NOINLINE pragmas <#rules-inline>.

     -Winvalid-haddock <#ghc-flag-Winvalid-haddock>
	    warn when a Haddock comment occurs in an invalid position

     -Wloopy-superclass-solve <#ghc-flag-Wloopy-superclass-solve>
	    (deprecated) warn when creating  potentially-loopy	superclass  con-
	    straint evidence

     -Wmisplaced-pragmas <#ghc-flag-Wmisplaced-pragmas>
	    warn about uses of file header pragmas in the module body

     -Wmissed-extra-shared-lib <#ghc-flag-Wmissed-extra-shared-lib>
	    Warn when GHCi can't load a shared lib.

     -Wmissed-specialisations <#ghc-flag-Wmissed-specialisations>
	    warn when specialisation of an imported, overloaded function fails.

     -Wmissed-specializations <#ghc-flag-Wmissed-specializations>
	    alias	     for	   -Wmissed-specialisations	      <#
	    ghc-flag-Wmissed-specialisations>

     -Wmissing-deriving-strategies <#ghc-flag-Wmissing-deriving-strategies>
	    warn when deriving without mentioning a deriving strategy

     -Wmissing-export-lists <#ghc-flag-Wmissing-export-lists>
	    warn when a module declaration does not explicitly list all exports

     -Wmissing-exported-pattern-synonym-signatures <#
     ghc-flag-Wmissing-exported-pattern-synonym-signatures>
	    warn about pattern synonyms without signatures, only if they are ex-
	    ported

     -Wmissing-exported-signatures <#ghc-flag-Wmissing-exported-signatures>
	    warn about top-level functions without signatures, only if they  are
	    exported

     -Wmissing-exported-sigs <#ghc-flag-Wmissing-exported-sigs>
	    (deprecated) warn about top-level functions without signatures, only
	    if they are exported. takes precedence over -Wmissing-signatures

     -Wmissing-fields <#ghc-flag-Wmissing-fields>
	    warn when fields of a record are uninitialised

     -Wmissing-home-modules <#ghc-flag-Wmissing-home-modules>
	    warn when encountering a home module imported, but not listed on the
	    command  line. Useful for cabal to ensure GHC won't pick up modules,
	    not listed neither in exposed-modules, nor in other-modules.

     -Wmissing-import-lists <#ghc-flag-Wmissing-import-lists>
	    warn when an import declaration does not  explicitly  list	all  the
	    names brought into scope

     -Wmissing-kind-signatures <#ghc-flag-Wmissing-kind-signatures>
	    warn when type declarations don't have kind signatures nor CUSKs

     -Wmissing-local-signatures <#ghc-flag-Wmissing-local-signatures>
	    warn about polymorphic local bindings without signatures

     -Wmissing-local-sigs <#ghc-flag-Wmissing-local-sigs>
	    (deprecated)  warn	about  polymorphic local bindings without signa-
	    tures

     -Wmissing-methods <#ghc-flag-Wmissing-methods>
	    warn when class methods are undefined

     -Wmissing-monadfail-instances <#ghc-flag-Wmissing-monadfail-instances>
	    (deprecated) Warn when a failable pattern is used in a do-block that
	    does not have a MonadFail instance.

     -Wmissing-pattern-synonym-signatures <#
     ghc-flag-Wmissing-pattern-synonym-signatures>
	    warn when pattern synonyms do not have type signatures

     -Wmissing-poly-kind-signatures <#ghc-flag-Wmissing-poly-kind-signatures>
	    warn when inferred polykinded type or class declaration  don't  have
	    kind signatures nor CUSKs

     -Wmissing-role-annotations <#ghc-flag-Wmissing-role-annotations>
	    warn when type declarations don't have role annotations

     -Wmissing-safe-haskell-mode <#ghc-flag-Wmissing-safe-haskell-mode>
	    warn when the Safe Haskell mode is not explicitly specified.

     -Wmissing-signatures <#ghc-flag-Wmissing-signatures>
	    warn about top-level functions without signatures

     -Wmissing-space-after-bang <#ghc-flag-Wmissing-space-after-bang>
	    (deprecated) Does nothing

     -Wmonomorphism-restriction <#ghc-flag-Wmonomorphism-restriction>
	    warn when the Monomorphism Restriction is applied

     -Wname-shadowing <#ghc-flag-Wname-shadowing>
	    warn when names are shadowed

     -Wnoncanonical-monad-instances <#ghc-flag-Wnoncanonical-monad-instances>
	    warn  when	Applicative or Monad instances have noncanonical defini-
	    tions of return, pure, (>>), or (*>).  See flag description in Warn-
	    ings and sanity-checking <#options-sanity> for more details.

     -Wnoncanonical-monadfail-instances <#
     ghc-flag-Wnoncanonical-monadfail-instances>
	    (deprecated) warn when Monad or MonadFail instances have  noncanoni-
	    cal definitions of fail.

     -Wnoncanonical-monoid-instances <#ghc-flag-Wnoncanonical-monoid-instances>
	    warn  when	Semigroup  or Monoid instances have noncanonical defini-
	    tions of (<>) or mappend.  See flag description in Warnings and san-
	    ity-checking <#options-sanity> for more details.

     -Wnot <#ghc-flag-Wnot>
	    (deprecated) Alias for -w <#ghc-flag-w>

     -Woperator-whitespace <#ghc-flag-Woperator-whitespace>
	    warn on prefix, suffix, and tight infix uses of infix operators

     -Woperator-whitespace-ext-conflict <#
     ghc-flag-Woperator-whitespace-ext-conflict>
	    warn on uses of infix operators that  would  be  parsed  differently
	    were a particular GHC extension enabled

     -Worphans <#ghc-flag-Worphans>
	    warn  when	the  module  contains  orphan  instance  declarations or
	    rewrite rules <#orphan-modules>

     -Woverflowed-literals <#ghc-flag-Woverflowed-literals>
	    warn about literals that will overflow their type

     -Woverlapping-patterns <#ghc-flag-Woverlapping-patterns>
	    warn about overlapping patterns

     -Wpartial-fields <#ghc-flag-Wpartial-fields>
	    warn when defining a partial record field.

     -Wpartial-type-signatures <#ghc-flag-Wpartial-type-signatures>
	    warn about holes in partial type signatures  when  PartialTypeSigna-
	    tures  <#extension-PartialTypeSignatures> is enabled. Not applicable
	    when PartialTypeSignatures <#extension-PartialTypeSignatures> is not
	    enabled, in which case errors are generated for such holes.

     -Wprepositive-qualified-module <#ghc-flag-Wprepositive-qualified-module>
	    Report imports with a leading/prepositive "qualified"

     -Wredundant-bang-patterns <#ghc-flag-Wredundant-bang-patterns>
	    Warn about redundant bang patterns.

     -Wredundant-constraints <#ghc-flag-Wredundant-constraints>
	    Have the compiler warn about redundant constraints	in  type  signa-
	    tures.

     -Wredundant-record-wildcards <#ghc-flag-Wredundant-record-wildcards>
	    Warn  about  record wildcard matches when the wildcard binds no pat-
	    terns.

     -Wredundant-strictness-flags <#ghc-flag-Wredundant-strictness-flags>
	    Warn about redundant strictness flags.

     -Wsafe <#ghc-flag-Wsafe>
	    warn if the module being compiled is regarded to be safe.

     -Wsemigroup <#ghc-flag-Wsemigroup>
	    (deprecated) Warn when a Monoid is not Semigroup, and  on  non-Semi-
	    group definitions of (<>)

     -Wsimplifiable-class-constraints <#
     ghc-flag-Wsimplifiable-class-constraints>
	    Warn about class constraints in a type signature that can be simpli-
	    fied using a top-level instance declaration.

     -Wstar-binder <#ghc-flag-Wstar-binder>
	    warn  about  binding  the  (*)  type  operator despite StarIsType <#
	    extension-StarIsType>

     -Wstar-is-type <#ghc-flag-Wstar-is-type>
	    warn when * is used to mean Data.Kind.Type

     -Wtabs <#ghc-flag-Wtabs>
	    warn if there are tabs in the source file

     -Wterm-variable-capture <#ghc-flag-Wterm-variable-capture>
	    warn when an implicitly quantified type variable captures  a  term's
	    name

     -Wtrustworthy-safe <#ghc-flag-Wtrustworthy-safe>
	    warn  if  the  module  being  compiled  is	marked as Trustworthy <#
	    extension-Trustworthy> but it could instead be  marked  as	Safe  <#
	    extension-Safe>, a more informative bound.

     -Wtype-defaults <#ghc-flag-Wtype-defaults>
	    warn when defaulting happens

     -Wtype-equality-out-of-scope <#ghc-flag-Wtype-equality-out-of-scope>
	    warn when type equality a ~ b is used despite being out of scope

     -Wtype-equality-requires-operators <#
     ghc-flag-Wtype-equality-requires-operators>
	    warn when type equality a ~ b is used despite being out of scope

     -Wtyped-holes <#ghc-flag-Wtyped-holes>
	    Report  warnings  when typed hole <#typed-holes> errors are deferred
	    until  runtime  <#defer-type-errors>.  See	-fdefer-typed-holes   <#
	    ghc-flag-fdefer-typed-holes>.

     -Wunbanged-strict-patterns <#ghc-flag-Wunbanged-strict-patterns>
	    warn  on  pattern bind of unlifted variable that is neither bare nor
	    banged

     -Wunicode-bidirectional-format-characters <#
     ghc-flag-Wunicode-bidirectional-format-characters>
	    warn about the usage of unicode bidirectional layout override  char-
	    acters

     -Wunrecognised-pragmas <#ghc-flag-Wunrecognised-pragmas>
	    warn about uses of pragmas that GHC doesn't recognise

     -Wunrecognised-warning-flags <#ghc-flag-Wunrecognised-warning-flags>
	    throw  a  warning  when an unrecognised -W... flag is encountered on
	    the command line.

     -Wunsafe <#ghc-flag-Wunsafe>
	    warn if the module being compiled is regarded  to  be  unsafe.   See
	    Safe Haskell <#safe-haskell>

     -Wunsupported-calling-conventions <#
     ghc-flag-Wunsupported-calling-conventions>
	    warn about use of an unsupported calling convention

     -Wunsupported-llvm-version <#ghc-flag-Wunsupported-llvm-version>
	    Warn when using -fllvm <#ghc-flag-fllvm> with an unsupported version
	    of LLVM.

     -Wunticked-promoted-constructors <#
     ghc-flag-Wunticked-promoted-constructors>
	    warn if promoted constructors are not ticked

     -Wunused-binds <#ghc-flag-Wunused-binds>
	    warn about bindings that are unused. Alias for -Wunused-top-binds <#
	    ghc-flag-Wunused-top-binds>,	 -Wunused-local-binds	      <#
	    ghc-flag-Wunused-local-binds>    and    -Wunused-pattern-binds    <#
	    ghc-flag-Wunused-pattern-binds>

     -Wunused-do-bind <#ghc-flag-Wunused-do-bind>
	    warn  about  do  bindings  that appear to throw away values of types
	    other than ()

     -Wunused-foralls <#ghc-flag-Wunused-foralls>
	    warn about type variables in user-written forall\s that are unused

     -Wunused-imports <#ghc-flag-Wunused-imports>
	    warn about unnecessary imports

     -Wunused-local-binds <#ghc-flag-Wunused-local-binds>
	    warn about local bindings that are unused

     -Wunused-matches <#ghc-flag-Wunused-matches>
	    warn about variables in patterns that aren't used

     -Wunused-packages <#ghc-flag-Wunused-packages>
	    warn when package is requested on command line, but not needed.

     -Wunused-pattern-binds <#ghc-flag-Wunused-pattern-binds>
	    warn about pattern match bindings that are unused

     -Wunused-record-wildcards <#ghc-flag-Wunused-record-wildcards>
	    Warn about record wildcard matches when none of the bound  variables
	    are used.

     -Wunused-top-binds <#ghc-flag-Wunused-top-binds>
	    warn about top-level bindings that are unused

     -Wunused-type-patterns <#ghc-flag-Wunused-type-patterns>
	    warn  about  unused  type  variables which arise from patterns in in
	    type family and data family instances

     -Wview-pattern-signatures <#ghc-flag-Wview-pattern-signatures>
	    warn when a view pattern is used with  type  signature  without  ex-
	    plicit parens

     -Wwarn <#ghc-flag-Wwarn>
	    make warnings non-fatal

     -Wwarnings-deprecations <#ghc-flag-Wwarnings-deprecations>
	    warn  about  uses of functions & types that have DEPRECATED pragmas,
	    or WARNING pragmas with the deprecated category.  Alias for -Wdepre-
	    cations <#ghc-flag-Wdeprecations>.

     -Wwrong-do-bind <#ghc-flag-Wwrong-do-bind>
	    warn about do bindings that appear to throw away monadic values that
	    you should have bound instead

     -Wx-^a"category^a(C) <#ghc-flag-Wx-category>
	    warn about uses of functions & types that have WARNING pragmas  with
	    the given category

COPYRIGHT
     Copyright	2015.  The  University	Court of the University of Glasgow.  All
     rights reserved.

SEE ALSO
     <https://www.haskell.org/ghc>     the GHC homepage

Author
     The GHC Team

Copyright
     2023, GHC Team

9.12.4				  Nov 19, 2026				  GHC(1)

home | help