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