Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PackageName
- unPackageName :: PackageName -> String
- mkPackageName :: String -> PackageName
Documentation
data PackageName #
A package name.
Use mkPackageName
and unPackageName
to convert from/to a
String
.
This type is opaque since Cabal-2.0
Since: 2.0.0.2
Instances
unPackageName :: PackageName -> String #
Convert PackageName
to String
mkPackageName :: String -> PackageName #
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: 2.0.0.2