Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PackageName
- unPackageName :: PackageName -> String
- mkPackageName :: String -> PackageName
Documentation
data PackageName Source #
A package name.
Use mkPackageName
and unPackageName
to convert from/to a
String
.
This type is opaque since Cabal-2.0
Since: Cabal-2.0.0.2
Instances
unPackageName :: PackageName -> String Source #
Convert PackageName
to String
mkPackageName :: String -> PackageName Source #
Construct a PackageName
from a String
mkPackageName
is the inverse to unPackageName
Note: No validations are performed to ensure that the resulting
PackageName
is valid
Since: Cabal-2.0.0.2