Cabal
CopyrightIsaac Jones 2003-2005
LicenseBSD3
Maintainercabal-devel@haskell.org
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Simple.PackageDescription

Description

This defines parsers for the .cabal format

Synopsis

Read and Parse files

readGenericPackageDescription :: HasCallStack => Verbosity -> Maybe (SymbolicPath CWD (Dir Pkg)) -> SymbolicPath Pkg File -> IO GenericPackageDescription Source #

readHookedBuildInfo Source #

Arguments

:: Verbosity 
-> Maybe (SymbolicPath CWD (Dir Pkg))

working directory

-> SymbolicPath Pkg File 
-> IO HookedBuildInfo 

Utility Parsing function

parseString Source #

Arguments

:: (ByteString -> ParseResult a)

File contents to final value parser

-> Verbosity

Verbosity level

-> String

File name

-> ByteString 
-> IO a