Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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: 2.0.0.2
Eq PackageName # | |
Data PackageName # | |
Ord PackageName # | |
Read PackageName # | |
Show PackageName # | |
IsString PackageName # | Since: 2.0.0.2 |
Generic PackageName # | |
NFData PackageName # | |
Binary PackageName # | |
Text PackageName # | |
type Rep PackageName # | |
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: 2.0.0.2