| Copyright | Jürgen Nicklisch-Franken 2010 | 
|---|---|
| License | BSD3 | 
| Maintainer | cabal-devel@haskell.org | 
| Stability | provisional | 
| Portability | portable | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Distribution.PackageDescription.PrettyPrint
Description
Pretty printing for cabal files
Synopsis
- writeGenericPackageDescription :: FilePath -> GenericPackageDescription -> IO ()
- showGenericPackageDescription :: GenericPackageDescription -> String
- ppGenericPackageDescription :: CabalSpecVersion -> GenericPackageDescription -> [PrettyField ()]
- writePackageDescription :: FilePath -> PackageDescription -> IO ()
- showPackageDescription :: PackageDescription -> String
- writeHookedBuildInfo :: FilePath -> HookedBuildInfo -> IO ()
- showHookedBuildInfo :: HookedBuildInfo -> String
Generic package descriptions
writeGenericPackageDescription :: FilePath -> GenericPackageDescription -> IO () #
Writes a .cabal file from a generic package description
showGenericPackageDescription :: GenericPackageDescription -> String #
Writes a generic package description to a string
ppGenericPackageDescription :: CabalSpecVersion -> GenericPackageDescription -> [PrettyField ()] #
Convert a generic package description to PrettyFields.
Package descriptions
writePackageDescription :: FilePath -> PackageDescription -> IO () #
Since: Cabal-2.0.0.2
showPackageDescription :: PackageDescription -> String #
Since: Cabal-2.0.0.2
Supplementary build information
writeHookedBuildInfo :: FilePath -> HookedBuildInfo -> IO () #
Since: Cabal-2.0.0.2
showHookedBuildInfo :: HookedBuildInfo -> String #
Since: Cabal-2.0.0.2