HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleghc-lib-parser-9.14.1.20251220GHC2021

GHC.Driver.CmdLine

Command-line parser

This is an abstract command-line parser used by DynFlags.

(c) The University of Glasgow 2005

  • 6 types
  • 16 values
datadata GhcFlagMode
#

GHC flag modes describing when a flag has an effect.

Constructors

  • OnlyGhc

    The flag only affects the non-interactive GHC

  • OnlyGhci

    The flag only affects the interactive GHC

  • AllModes

    The flag affects multiple ghc modes

  • HiddenFlag

    This flag should not be seen in cli completion

newtypenewtype EwM (m :: Type -> Type) a
#
Instances4Monad, Functor, Applicative, MonadIO
  • Monad m => Monad (EwM m)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Driver.CmdLine
  • Functor m => Functor (EwM m)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Driver.CmdLine
  • Monad m => Applicative (EwM m)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Driver.CmdLine
  • MonadIO m => MonadIO (EwM m)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Driver.CmdLine
valuerunEwM :: EwM m a -> m (Errs, Warns, a)
#