Cabal-1.2.4.0: A framework for packaging Haskell softwareSource codeContentsIndex
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 Source
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 -> StringSource
Creates a string like foo-1.2
parsePackageId :: ReadP r PackageIdentifierSource
A package ID looks like foo-1.2.
parsePackageName :: ReadP r StringSource
Produced by Haddock version 0.9