Cabal-1.2.0: A framework for packaging Haskell softwareContentsIndex
Distribution.Package
Portabilityportable
Stabilityalpha
MaintainerIsaac Jones <ijones@syntaxpolice.org>
Description
Packages are fundamentally just a name and a version.
Synopsis
data PackageIdentifier = PackageIdentifier {
pkgName :: String
pkgVersion :: Version
}
showPackageId :: PackageIdentifier -> String
parsePackageId :: ReadP r PackageIdentifier
parsePackageName :: ReadP r String
Documentation
data PackageIdentifier
The name and version of a package.
Constructors
PackageIdentifier
pkgName :: StringThe name of this package, eg. foo
pkgVersion :: Versionthe version of this package, eg 1.2
show/hide Instances
showPackageId :: PackageIdentifier -> String
Creates a string like foo-1.2
parsePackageId :: ReadP r PackageIdentifier
A package ID looks like foo-1.2.
parsePackageName :: ReadP r String
Produced by Haddock version 0.8