Cabal-1.2.4.0: A framework for packaging Haskell softwareSource codeContentsIndex
Distribution.InstalledPackageInfo
Portabilityportable
Stabilityalpha
Maintainerlibraries@haskell.org
Description
This is the information about an installed package that is communicated to the hc-pkg program in order to register a package. ghc-pkg now consumes this package format (as of verison 6.4). This is specific to GHC at the moment.
Documentation
data InstalledPackageInfo Source
Constructors
InstalledPackageInfo
package :: PackageIdentifier
license :: License
copyright :: String
maintainer :: String
author :: String
stability :: String
homepage :: String
pkgUrl :: String
description :: String
category :: String
exposed :: Bool
exposedModules :: [String]
hiddenModules :: [String]
importDirs :: [FilePath]
libraryDirs :: [FilePath]
hsLibraries :: [String]
extraLibraries :: [String]
extraGHCiLibraries :: [String]
includeDirs :: [FilePath]
includes :: [String]
depends :: [PackageIdentifier]
hugsOptions :: [String]
ccOptions :: [String]
ldOptions :: [String]
frameworkDirs :: [FilePath]
frameworks :: [String]
haddockInterfaces :: [FilePath]
haddockHTMLs :: [FilePath]
show/hide Instances
data ParseResult aSource
Constructors
ParseFailed PError
ParseOk [PWarning] a
show/hide Instances
data PError Source
Constructors
AmbigousParse String LineNo
NoParse String LineNo
TabsError LineNo
FromString String (Maybe LineNo)
show/hide Instances
type PWarning = StringSource
emptyInstalledPackageInfo :: InstalledPackageInfoSource
parseInstalledPackageInfo :: String -> ParseResult InstalledPackageInfoSource
showInstalledPackageInfo :: InstalledPackageInfo -> StringSource
showInstalledPackageInfoField :: String -> Maybe (InstalledPackageInfo -> String)Source
Produced by Haddock version 0.9