|
Distribution.Package | Portability | | Stability | alpha | Maintainer | Isaac Jones <ijones@syntaxpolice.org> |
|
|
|
|
|
Description |
Explanation: Package description and parsing |
|
Synopsis |
|
|
|
Documentation |
|
data PackageIdentifier |
Constructors | PackageIdentifier | | pkgName :: String | | pkgVersion :: Version | |
|
| Instances | |
|
|
showPackageId :: PackageIdentifier -> String |
|
data PackageDescription |
This data type is the internal representation of the file pkg.descr.
It contains two kinds of information about the package: information
which is needed for all packages, such as the package name and version, and
information which is needed for the simple build system only, such as
the compiler options and library name.
| Constructors | | Instances | |
|
|
data BuildInfo |
Constructors | BuildInfo | | buildDepends :: [Dependency] | | modules :: [String] | | exposedModules :: [String] | | cSources :: [FilePath] | | hsSourceDir :: FilePath | | extensions :: [Extension] | | extraLibs :: [String] | | includeDirs :: [FilePath] | | includes :: [FilePath] | | options :: [(CompilerFlavor, [String])] | |
|
| Instances | |
|
|
data Executable |
Constructors | Executable | | exeName :: String | | modulePath :: FilePath | | buildInfo :: BuildInfo | |
|
| Instances | |
|
|
emptyPackageDescription :: PackageDescription |
|
parsePackageDesc :: FilePath -> IO PackageDescription |
Parse the given package file. |
|
hasLibs :: PackageDescription -> Bool |
does this package have any libraries? |
|
Produced by Haddock version 0.6 |