ghci(1) on Linux
The text e14d719664cd, as Debian 13 (Trixie) shipped it. The page shows this text now.
the Glasgow Haskell Compiler
Flags it lists
-
--frontend -
--help -
--info -
--interactive -
--make -
--merge-objs -
--numeric-version -
--print-booter-version -
--print-build-platform -
--print-c-compiler-flags -
--print-c-compiler-link-flags -
--print-debug-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-support-smp -
--print-tables-next-to-code -
--print-target-platform -
--print-unregisterised -
--run -
--show-iface -
--show-options -
--supported-extensions -
--version -
-C -
-E -
-F -
-H -
-L -
-M -
-O -
-O0 -
-O2 -
-Rghc-timing -
-S -
-W -
-Wall -
-Wall-missed-specialisations -
-Wall-missed-specializations -
-Wambiguous-fields -
-Wauto-orphans -
-Wcompat -
-Wcompat-unqualified-imports -
-Wcpp-undef -
-Wdefault -
-Wdeferred-out-of-scope-variables -
-Wdeferred-type-errors -
-Wdeprecated-flags -
-Wdeprecations -
-Wderiving-defaults -
-Wderiving-typeable -
-Wdodgy-exports -
-Wdodgy-foreign-imports -
-Wdodgy-imports -
-Wduplicate-constraints -
-Wduplicate-exports -
-Wempty-enumerations -
-Werror -
-Weverything -
-Wextra -
-Wforall-identifier -
-Wgadt-mono-local-binds -
-Whi-shadowing -
-Widentities -
-Wimplicit-kind-vars -
-Wimplicit-lift -
-Wimplicit-prelude -
-Winaccessible-code -
-Wincomplete-patterns -
-Wincomplete-record-updates -
-Wincomplete-uni-patterns -
-Winferred-safe-imports -
-Winline-rule-shadowing -
-Winvalid-haddock -
-Wloopy-superclass-solve -
-Wmisplaced-pragmas -
-Wmissed-extra-shared-lib -
-Wmissed-specialisations -
-Wmissed-specializations -
-Wmissing-deriving-strategies -
-Wmissing-export-lists -
-Wmissing-exported-pattern-synonym-signatures -
-Wmissing-exported-signatures -
-Wmissing-exported-sigs -
-Wmissing-fields -
-Wmissing-home-modules -
-Wmissing-import-lists -
-Wmissing-kind-signatures -
-Wmissing-local-signatures -
-Wmissing-local-sigs -
-Wmissing-methods -
-Wmissing-monadfail-instances -
-Wmissing-pattern-synonym-signatures -
-Wmissing-safe-haskell-mode -
-Wmissing-signatures -
-Wmissing-space-after-bang -
-Wmonomorphism-restriction -
-Wname-shadowing -
-Wno-compat -
-Wnoncanonical-monad-instances -
-Wnoncanonical-monadfail-instances -
-Wnoncanonical-monoid-instances -
-Wnot -
-Woperator-whitespace -
-Woperator-whitespace-ext-conflict -
-Worphans -
-Woverflowed-literals -
-Woverlapping-patterns -
-Wpartial-fields -
-Wpartial-type-signatures -
-Wprepositive-qualified-module -
-Wredundant-bang-patterns -
-Wredundant-constraints -
-Wredundant-record-wildcards -
-Wredundant-strictness-flags -
-Wsafe -
-Wsemigroup -
-Wsimplifiable-class-constraints -
-Wstar-binder -
-Wstar-is-type -
-Wtabs -
-Wtrustworthy-safe -
-Wtype-defaults -
-Wtype-equality-out-of-scope -
-Wtype-equality-requires-operators -
-Wtyped-holes -
-Wunbanged-strict-patterns -
-Wunicode-bidirectional-format-characters -
-Wunrecognised-pragmas -
-Wunrecognised-warning-flags -
-Wunsafe -
-Wunsupported-calling-conventions -
-Wunsupported-llvm-version -
-Wunticked-promoted-constructors -
-Wunused-binds -
-Wunused-do-bind -
-Wunused-foralls -
-Wunused-imports -
-Wunused-local-binds -
-Wunused-matches -
-Wunused-packages -
-Wunused-pattern-binds -
-Wunused-record-wildcards -
-Wunused-top-binds -
-Wunused-type-patterns -
-Wwarn -
-Wwarnings-deprecations -
-Wwrong-do-bind -
-XAllowAmbiguousTypes -
-XApplicativeDo -
-XArrows -
-XBangPatterns -
-XBinaryLiterals -
-XBlockArguments -
-XCApiFFI -
-XCPP -
-XCUSKs -
-XConstrainedClassMethods -
-XConstraintKinds -
-XDataKinds -
-XDatatypeContexts -
-XDeepSubsumption -
-XDefaultSignatures -
-XDeriveAnyClass -
-XDeriveDataTypeable -
-XDeriveFoldable -
-XDeriveFunctor -
-XDeriveGeneric -
-XDeriveLift -
-XDeriveTraversable -
-XDerivingStrategies -
-XDerivingVia -
-XDisambiguateRecordFields -
-XDuplicateRecordFields -
-XEmptyCase -
-XEmptyDataDecls -
-XEmptyDataDeriving -
-XExistentialQuantification -
-XExplicitForAll -
-XExplicitNamespaces -
-XExtendedDefaultRules -
-XFieldSelectors -
-XFlexibleContexts -
-XFlexibleInstances -
-XForeignFunctionInterface -
-XFunctionalDependencies -
-XGADTSyntax -
-XGADTs -
-XGHC2021 -
-XGHCForeignImportPrim -
-XGeneralisedNewtypeDeriving -
-XGeneralizedNewtypeDeriving -
-XHaskell2010 -
-XHaskell98 -
-XHexFloatLiterals -
-XImplicitParams -
-XImportQualifiedPost -
-XImpredicativeTypes -
-XIncoherentInstances -
-XInstanceSigs -
-XInterruptibleFFI -
-XKindSignatures -
-XLambdaCase -
-XLexicalNegation -
-XLiberalTypeSynonyms -
-XLinearTypes -
-XMagicHash -
-XMonadComprehensions -
-XMonoLocalBinds -
-XMultiParamTypeClasses -
-XMultiWayIf -
-XNPlusKPatterns -
-XNamedFieldPuns -
-XNamedWildCards -
-XNegativeLiterals -
-XNoImplicitPrelude -
-XNoMonomorphismRestriction -
-XNoPatternGuards -
-XNoTraditionalRecordSyntax -
-XNondecreasingIndentation -
-XNullaryTypeClasses -
-XNumDecimals -
-XNumericUnderscores -
-XOverlappingInstances -
-XOverloadedLabels -
-XOverloadedLists -
-XOverloadedRecordDot -
-XOverloadedRecordUpdate -
-XOverloadedStrings -
-XPackageImports -
-XParallelListComp -
-XPartialTypeSignatures -
-XPatternSynonyms -
-XPolyKinds -
-XPostfixOperators -
-XQualifiedDo -
-XQuantifiedConstraints -
-XQuasiQuotes -
-XRank2Types -
-XRankNTypes -
-XRebindableSyntax -
-XRecordWildCards -
-XRecursiveDo -
-XRoleAnnotations -
-XSafe -
-XScopedTypeVariables -
-XStandaloneDeriving -
-XStandaloneKindSignatures -
-XStarIsType -
-XStaticPointers -
-XStrict -
-XStrictData -
-XTemplateHaskell -
-XTemplateHaskellQuotes -
-XTransformListComp -
-XTrustworthy -
-XTupleSections -
-XTypeApplications -
-XTypeData -
-XTypeFamilies -
-XTypeFamilyDependencies -
-XTypeInType -
-XTypeOperators -
-XTypeSynonymInstances -
-XUnboxedSums -
-XUnboxedTuples -
-XUndecidableInstances -
-XUndecidableSuperClasses -
-XUnicodeSyntax -
-XUnliftedDatatypes -
-XUnliftedFFITypes -
-XUnliftedNewtypes -
-XUnsafe -
-XViewPatterns -
-auto -
-auto-all -
-c -
-caf-all -
-clear-package-db -
-cpp -
-dasm-lint -
-dcmm-lint -
-dcore-lint -
-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-verbose-by-proc -
-ddump-core-stats -
-ddump-cpr-signatures -
-ddump-cpranal -
-ddump-cs-trace -
-ddump-cse -
-ddump-debug -
-ddump-deriv -
-ddump-ds -
-ddump-ec-trace -
-ddump-exitify -
-ddump-faststrings -
-ddump-file-prefix -
-ddump-foreign -
-ddump-hi -
-ddump-hi-diffs -
-ddump-hie -
-ddump-hpc -
-ddump-if-trace -
-ddump-inlinings -
-ddump-js -
-ddump-json -
-ddump-late-cc -
-ddump-llvm -
-ddump-minimal-imports -
-ddump-mod-cycles -
-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-iterations -
-ddump-simpl-stats -
-ddump-simpl-trace -
-ddump-spec -
-ddump-splices -
-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 -
-debug -
-dep-makefile -
-dep-suffix -
-dfaststring-stats -
-dhex-word-literals -
-dinitial-unique -
-dinline-check -
-dipe-stats -
-distrust -
-distrust-all-packages -
-dkeep-comments -
-dlinear-core-lint -
-dlint -
-dno-debug-output -
-dno-typeable-binds -
-dppr-case-as-let -
-dppr-cols -
-dppr-debug -
-dppr-user-length -
-drule-check -
-dshow-passes -
-dstg-lint -
-dsuppress-all -
-dsuppress-coercion-types -
-dsuppress-coercions -
-dsuppress-core-sizes -
-dsuppress-idinfo -
-dsuppress-module-prefixes -
-dsuppress-stg-free-vars -
-dsuppress-stg-reps -
-dsuppress-ticks -
-dsuppress-timestamps -
-dsuppress-type-applications -
-dsuppress-type-signatures -
-dsuppress-unfoldings -
-dsuppress-uniques -
-dsuppress-var-kinds -
-dtag-inference-checks -
-dth-dec-file -
-dumpdir -
-dunique-increment -
-dverbose-core2core -
-dverbose-stg2stg -
-dylib-install-name -
-dynamic -
-dynamic-too -
-dynhisuf -
-dynload -
-dyno -
-dynohi -
-dynosuf -
-e -
-eventlog -
-exclude-module -
-fPIC -
-fPIE -
-fabstract-refinement-hole-fits -
-falignment-sanitisation -
-fasm -
-fasm-shortcutting -
-fbinary-blob-threshold -
-fblock-layout-cfg -
-fblock-layout-weightless -
-fblock-layout-weights -
-fbreak-on-error -
-fbreak-on-exception -
-fbyte-code -
-fbyte-code-and-object-code -
-fcall-arity -
-fcase-folding -
-fcase-merge -
-fcatch-nonexhaustive-cases -
-fcheck-prim-bounds -
-fclear-plugins -
-fcmm-control-flow -
-fcmm-elim-common-blocks -
-fcmm-sink -
-fcmm-static-pred -
-fcmm-thread-sanitizer -
-fcompact-unwind -
-fcore-constant-folding -
-fcpr-anal -
-fcross-module-specialise -
-fcse -
-fdefer-diagnostics -
-fdefer-out-of-scope-variables -
-fdefer-type-errors -
-fdefer-typed-holes -
-fdiagnostics-color -
-fdiagnostics-show-caret -
-fdicts-cheap -
-fdicts-strict -
-fdistinct-constructor-tables -
-fdmd-tx-dict-sel -
-fdmd-unbox-width -
-fdo-eta-reduction -
-fdo-lambda-eta-expansion -
-fdump-with-ways -
-feager-blackholing -
-fenable-rewrite-rules -
-fenable-th-splice-warnings -
-ferror-spans -
-fexcess-precision -
-fexitification -
-fexpose-all-unfoldings -
-fexpose-internal-symbols -
-fexternal-dynamic-refs -
-fexternal-interpreter -
-ffamily-application-cache -
-ffloat-in -
-fforce-recomp -
-ffull-laziness -
-ffun-to-thunk -
-fghci-hist-size -
-fghci-leak-check -
-fglasgow-exts -
-fhelpful-errors -
-fhide-source-paths -
-fhpc -
-fignore-asserts -
-fignore-hpc-changes -
-fignore-interface-pragmas -
-fignore-optim-changes -
-fimplicit-import-qualified -
-finfo-table-map -
-finfo-table-map-with-fallback -
-finfo-table-map-with-stack -
-finline-generics -
-finline-generics-aggressively -
-fkeep-cafs -
-fkeep-going -
-flate-dmd-anal -
-flate-specialise -
-fliberate-case -
-fliberate-case-threshold -
-flink-rts -
-fllvm -
-fllvm-fill-undef-with-garbage -
-fllvm-pass-vectors-in-regs -
-flocal-float-out -
-flocal-float-out-top-level -
-flocal-ghci-history -
-floopification -
-fmax-inline-alloc-size -
-fmax-inline-memcpy-insns -
-fmax-inline-memset-insns -
-fmax-pmcheck-models -
-fmax-refinement-hole-fits -
-fmax-relevant-binds -
-fmax-simplifier-iterations -
-fmax-uncovered-patterns -
-fmax-valid-hole-fits -
-fmax-worker-args -
-fno-code -
-fno-embed-manifest -
-fno-gen-manifest -
-fno-info-table-map-with-fallback -
-fno-info-table-map-with-stack -
-fno-it -
-fno-opt-coercion -
-fno-pre-inlining -
-fno-prof-count-entries -
-fno-safe-haskell -
-fno-shared-implib -
-fno-show-valid-hole-fits -
-fno-sort-valid-hole-fits -
-fno-state-hack -
-fobject-code -
-fomit-interface-pragmas -
-fomit-yields -
-foptimal-applicative-do -
-fpackage-trust -
-fpedantic-bottoms -
-fplugin -
-fplugin-library -
-fplugin-opt -
-fplugin-trustworthy -
-fpolymorphic-specialisation -
-fprefer-byte-code -
-fprint-axiom-incomps -
-fprint-bind-result -
-fprint-equality-relations -
-fprint-evld-with-show -
-fprint-expanded-synonyms -
-fprint-explicit-coercions -
-fprint-explicit-foralls -
-fprint-explicit-kinds -
-fprint-explicit-runtime-reps -
-fprint-potential-instances -
-fprint-redundant-promotion-ticks -
-fprint-typechecker-elaboration -
-fprint-unicode-syntax -
-fproc-alignment -
-fprof-auto -
-fprof-auto-calls -
-fprof-auto-exported -
-fprof-auto-top -
-fprof-cafs -
-fprof-callers -
-fprof-late -
-fprof-late-inline -
-fprof-manual -
-framework -
-framework-path -
-frefinement-level-hole-fits -
-fregs-graph -
-fregs-iterative -
-freverse-errors -
-fshow-docs-of-hole-fits -
-fshow-error-context -
-fshow-hole-constraints -
-fshow-hole-matches-of-hole-fits -
-fshow-loaded-modules -
-fshow-provenance-of-hole-fits -
-fshow-type-app-of-hole-fits -
-fshow-type-app-vars-of-hole-fits -
-fshow-type-of-hole-fits -
-fshow-warning-groups -
-fsimpl-tick-factor -
-fsimplifier-phases -
-fsolve-constant-dicts -
-fsort-by-size-hole-fits -
-fsort-by-subsumption-hole-fits -
-fspec-constr -
-fspec-constr-count -
-fspec-constr-keen -
-fspec-constr-threshold -
-fspecialise -
-fspecialise-aggressively -
-fsplit-sections -
-fstatic-argument-transformation -
-fstg-cse -
-fstg-lift-lams -
-fstg-lift-lams-known -
-fstg-lift-lams-non-rec-args -
-fstg-lift-lams-rec-args -
-fstrictness -
-fstrictness-before -
-funbox-small-strict-fields -
-funbox-strict-fields -
-funclutter-valid-hole-fits -
-funfolding-case-scaling -
-funfolding-case-threshold -
-funfolding-creation-threshold -
-funfolding-dict-discount -
-funfolding-fun-discount -
-funfolding-keeness-factor -
-funfolding-use-threshold -
-fuse-rpaths -
-fvia-C -
-fwhole-archive-hs-libs -
-fworker-wrapper -
-fworker-wrapper-cbv -
-fwrite-if-simplified-core -
-fwrite-interface -
-g -
-ghci-script -
-global-package-db -
-hcsuf -
-hide-all-packages -
-hide-all-plugin-packages -
-hide-package -
-hidir -
-hiedir -
-hiesuf -
-hisuf -
-i -
-ignore-dot-ghci -
-ignore-package -
-include-cpp-deps -
-include-pkg-deps -
-interactive-print -
-j -
-keep-hc-file -
-keep-hi-files -
-keep-hscpp-file -
-keep-llvm-file -
-keep-o-files -
-keep-s-file -
-keep-tmp-files -
-l -
-main-is -
-mavx -
-mavx2 -
-mavx512cd -
-mavx512er -
-mavx512f -
-mavx512pf -
-mbmi -
-mbmi2 -
-msse -
-msse2 -
-msse3 -
-msse4 -
-msse4.2 -
-no-auto -
-no-auto-all -
-no-auto-link-packages -
-no-caf-all -
-no-global-package-db -
-no-hs-main -
-no-pie -
-no-rtsopts-suggestions -
-no-user-package-db -
-o -
-odir -
-ohi -
-optF -
-optL -
-optP -
-opta -
-optc -
-optcxx -
-optdll -
-opti -
-optl -
-optlc -
-optlm -
-optlo -
-optwindres -
-osuf -
-outputdir -
-package -
-package-db -
-package-env -
-package-id -
-pgmF -
-pgmL -
-pgmP -
-pgma -
-pgmc -
-pgmc-supports-no-pie -
-pgmcxx -
-pgmdll -
-pgmi -
-pgminstall_name_tool -
-pgml -
-pgml-supports-no-pie -
-pgmlc -
-pgmlm -
-pgmlo -
-pgmotool -
-pgms -
-pgmwindres -
-pie -
-plugin-package -
-plugin-package-id -
-prof -
-rdynamic -
-rtsopts -
-shared -
-split-objs -
-static -
-staticlib -
-stubdir -
-this-package-name -
-this-unit-id -
-threaded -
-ticky -
-ticky-LNE -
-ticky-allocd -
-ticky-ap-thunk -
-ticky-dyn-thunk -
-ticky-tag-checks -
-tmpdir -
-trust -
-unit -
-user-package-db -
-v -
-w -
-with-rtsopts -
-working-dir -
-x