cabal-cargs-1.0.0: A command line program for extracting compiler arguments from a cabal file.

Safe HaskellNone
LanguageHaskell98

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

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.