Distribution.PackageDescription.PrettyPrint

Cabal-2.0.1.0: A framework for packaging Haskell software

Copyright | Jürgen Nicklisch-Franken 2010
License | BSD3
Maintainer | cabal-devel@haskell.org
Stability | provisional
Portability | portable
Safe Haskell | None
Language | Haskell2010

Distribution.PackageDescription.PrettyPrint

Contents

- Generic package descriptions
- Package descriptions
  - Supplementary build information

Description

Pretty printing for cabal files

Synopsis

- writeGenericPackageDescription :: FilePath -> GenericPackageDescription -> NoCallStackIO ()
- showGenericPackageDescription :: GenericPackageDescription -> String
- writePackageDescription :: FilePath -> PackageDescription -> NoCallStackIO ()
- showPackageDescription :: PackageDescription -> String
- writeHookedBuildInfo :: FilePath -> HookedBuildInfo -> NoCallStackIO ()
- showHookedBuildInfo :: HookedBuildInfo -> String

# Generic package descriptions

writeGenericPackageDescription :: FilePath -> GenericPackageDescription -> NoCallStackIO () 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 -> NoCallStackIO () Source #

Since: 2.0.0.2

showPackageDescription :: PackageDescription -> String Source #

Since: 2.0.0.2

## Supplementary build information

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

Since: 2.0.0.2

showHookedBuildInfo :: HookedBuildInfo -> String Source #

Since: 2.0.0.2