cabal-cargs-1.5.0: A command line program for extracting compiler arguments from a cabal file.
Safe HaskellSafe-Inferred
LanguageHaskell2010

CabalCargs.CompilerArgs

Synopsis

Documentation

data CompilerArgs Source #

The collected compiler args from the cabal file. Till the field packageDB all fields represent the equaliy named fields (- replaced by CamelCase) from the cabal file.

Constructors

CompilerArgs 

Fields

Instances

Instances details
Show CompilerArgs Source # 
Instance details

Defined in CabalCargs.CompilerArgs

Eq CompilerArgs Source # 
Instance details

Defined in CabalCargs.CompilerArgs

fromCmdArgs :: Args -> IO (Either Error CompilerArgs) Source #

Create a CompilerArgs by the command line arguments given to 'cabal-cargs'.

fromSpec :: Spec -> CompilerArgs Source #

Create a CompilerArgs and collect the compiler args specified by Spec.