| Cabal-1.2.3.0: A framework for packaging Haskell software | Contents | Index |
|
Distribution.Package | Portability | portable | Stability | alpha | Maintainer | Isaac Jones <ijones@syntaxpolice.org> |
|
|
|
Description |
Packages are fundamentally just a name and a version.
|
|
Synopsis |
|
|
|
Documentation |
|
data PackageIdentifier |
The name and version of a package.
| Constructors | PackageIdentifier | | pkgName :: String | The name of this package, eg. foo
| pkgVersion :: Version | the version of this package, eg 1.2
|
|
| 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 |