Cabal-syntax-3.10.1.0: A library for working with .cabal files
CopyrightJürgen Nicklisch-Franken 2010
LicenseBSD3
Maintainercabal-devel@haskell.org
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.PackageDescription.PrettyPrint

Description

Pretty printing for cabal files

Synopsis

Generic package descriptions

writeGenericPackageDescription :: FilePath -> GenericPackageDescription -> IO () Source #

Writes a .cabal file from a generic package description

showGenericPackageDescription :: GenericPackageDescription -> String Source #

Writes a generic package description to a string

Package descriptions

writePackageDescription :: FilePath -> PackageDescription -> IO () Source #

Since: Cabal-syntax-2.0.0.2

showPackageDescription :: PackageDescription -> String Source #

Since: Cabal-syntax-2.0.0.2

Supplementary build information

writeHookedBuildInfo :: FilePath -> HookedBuildInfo -> IO () Source #

Since: Cabal-syntax-2.0.0.2

showHookedBuildInfo :: HookedBuildInfo -> String Source #

Since: Cabal-syntax-2.0.0.2