Pretty Bool # | |
Instance detailsDefined in Distribution.Pretty |
Pretty Int # | |
Instance detailsDefined in Distribution.Pretty |
Pretty Version # | |
Instance detailsDefined in Distribution.Types.Version |
Pretty VersionRange # | |
Instance detailsDefined in Distribution.Types.VersionRange.Internal |
Pretty RepoType # | |
Instance detailsDefined in Distribution.Types.SourceRepo |
Pretty RepoKind # | |
Instance detailsDefined in Distribution.Types.SourceRepo |
Pretty PkgconfigVersion # | |
Instance detailsDefined in Distribution.Types.PkgconfigVersion |
Pretty PkgconfigVersionRange # | |
Instance detailsDefined in Distribution.Types.PkgconfigVersionRange |
Pretty PkgconfigName # | |
Instance detailsDefined in Distribution.Types.PkgconfigName |
Pretty PkgconfigDependency # | |
Instance detailsDefined in Distribution.Types.PkgconfigDependency |
Pretty PackageName # | |
Instance detailsDefined in Distribution.Types.PackageName |
Pretty UnqualComponentName # | |
Instance detailsDefined in Distribution.Types.UnqualComponentName |
Pretty PackageVersionConstraint # | |
Instance detailsDefined in Distribution.Types.PackageVersionConstraint |
Pretty LibraryVisibility # | |
Instance detailsDefined in Distribution.Types.LibraryVisibility |
Pretty MungedPackageName # | Computes the package name for a library. If this is the public
library, it will just be the original package name; otherwise,
it will be a munged package name recording the original package
name as well as the name of the internal library. A lot of tooling in the Haskell ecosystem assumes that if something
is installed to the package database with the package name foo ,
then it actually is an entry for the (only public) library in package
foo . With internal packages, this is not necessarily true:
a public library as well as arbitrarily many internal libraries may
come from the same package. To prevent tools from getting confused
in this case, the package name of these internal libraries is munged
so that they do not conflict the public library proper. A particular
case where this matters is ghc-pkg: if we don't munge the package
name, the inplace registration will OVERRIDE a different internal
library. We munge into a reserved namespace, "z-", and encode both the
component name and the package name of an internal library using the
following format: compat-pkg-name ::= "z-" package-name "-z-" library-name where package-name and library-name have "-" ( "z" + ) "-"
segments encoded by adding an extra "z". When we have the public library, the compat-pkg-name is just the
package-name, no surprises there! >>> prettyShow $ MungedPackageName "servant" LMainLibName
"servant"
>>> prettyShow $ MungedPackageName "servant" (LSubLibName "lackey")
"z-servant-z-lackey"
|
Instance detailsDefined in Distribution.Types.MungedPackageName |
Pretty ForeignLibType # | |
Instance detailsDefined in Distribution.Types.ForeignLibType |
Pretty ForeignLibOption # | |
Instance detailsDefined in Distribution.Types.ForeignLibOption |
Pretty FlagName # | |
Instance detailsDefined in Distribution.Types.Flag |
Pretty ExecutableScope # | |
Instance detailsDefined in Distribution.Types.ExecutableScope |
Pretty ComponentName # | |
Instance detailsDefined in Distribution.Types.ComponentName |
Pretty ComponentId # | |
Instance detailsDefined in Distribution.Types.ComponentId |
Pretty BuildType # | |
Instance detailsDefined in Distribution.Types.BuildType |
Pretty AbiHash # | |
Instance detailsDefined in Distribution.Types.AbiHash |
Pretty Platform # | |
Instance detailsDefined in Distribution.System |
Pretty Arch # | |
Instance detailsDefined in Distribution.System |
Pretty OS # | |
Instance detailsDefined in Distribution.System |
Pretty LicenseRef # | |
Instance detailsDefined in Distribution.SPDX.LicenseReference |
Pretty LicenseId # | |
Instance detailsDefined in Distribution.SPDX.LicenseId |
Pretty LicenseExceptionId # | |
Instance detailsDefined in Distribution.SPDX.LicenseExceptionId |
Pretty SimpleLicenseExpression # | |
Instance detailsDefined in Distribution.SPDX.LicenseExpression |
Pretty LicenseExpression # | |
Instance detailsDefined in Distribution.SPDX.LicenseExpression |
Pretty License # | |
Instance detailsDefined in Distribution.SPDX.License |
Pretty ModuleName # | |
Instance detailsDefined in Distribution.ModuleName |
Pretty ModuleRenaming # | |
Instance detailsDefined in Distribution.Types.ModuleRenaming |
Pretty IncludeRenaming # | |
Instance detailsDefined in Distribution.Types.IncludeRenaming |
Pretty Mixin # | |
Instance detailsDefined in Distribution.Types.Mixin |
Pretty ModuleReexport # | |
Instance detailsDefined in Distribution.Types.ModuleReexport |
Pretty TestType # | |
Instance detailsDefined in Distribution.Types.TestType |
Pretty PackageIdentifier # | |
Instance detailsDefined in Distribution.Types.PackageId |
Pretty DefUnitId # | |
Instance detailsDefined in Distribution.Types.UnitId |
Pretty UnitId # | The textual format for UnitId coincides with the format
GHC accepts for -package-id . |
Instance detailsDefined in Distribution.Types.UnitId |
Pretty Module # | |
Instance detailsDefined in Distribution.Types.Module |
Pretty OpenModule # | |
Instance detailsDefined in Distribution.Backpack |
Pretty OpenUnitId # | |
Instance detailsDefined in Distribution.Backpack |
Pretty ExposedModule # | |
Instance detailsDefined in Distribution.Types.ExposedModule |
Pretty MungedPackageId # | >>> prettyShow $ MungedPackageId (MungedPackageName "servant" LMainLibName) (mkVersion [1,2,3])
"servant-1.2.3"
>>> prettyShow $ MungedPackageId (MungedPackageName "servant" (LSubLibName "lackey")) (mkVersion [0,1,2])
"z-servant-z-lackey-0.1.2"
|
Instance detailsDefined in Distribution.Types.MungedPackageId |
Pretty LegacyExeDependency # | |
Instance detailsDefined in Distribution.Types.LegacyExeDependency |
Pretty ExeDependency # | |
Instance detailsDefined in Distribution.Types.ExeDependency |
Pretty Dependency # | |
Instance detailsDefined in Distribution.Types.Dependency |
Pretty BenchmarkType # | |
Instance detailsDefined in Distribution.Types.BenchmarkType |
Pretty AbiDependency # | |
Instance detailsDefined in Distribution.Types.AbiDependency |
Pretty License # | |
Instance detailsDefined in Distribution.License |
Pretty KnownExtension # | |
Instance detailsDefined in Language.Haskell.Extension |
Pretty Extension # | |
Instance detailsDefined in Language.Haskell.Extension |
Pretty Language # | |
Instance detailsDefined in Language.Haskell.Extension |
Pretty AbiTag # | |
Instance detailsDefined in Distribution.Compiler |
Pretty CompilerId # | |
Instance detailsDefined in Distribution.Compiler |
Pretty CompilerFlavor # | |
Instance detailsDefined in Distribution.Compiler |
Pretty LibVersionInfo # | |
Instance detailsDefined in Distribution.Types.ForeignLib |
Pretty FilePathNT # | |
Instance detailsDefined in Distribution.Parsec.Newtypes |
Pretty TestedWith # | |
Instance detailsDefined in Distribution.Parsec.Newtypes |
Pretty SpecLicense # | |
Instance detailsDefined in Distribution.Parsec.Newtypes |
Pretty SpecVersion # | |
Instance detailsDefined in Distribution.Parsec.Newtypes |
Pretty Token' # | |
Instance detailsDefined in Distribution.Parsec.Newtypes |
Pretty Token # | |
Instance detailsDefined in Distribution.Parsec.Newtypes |
Pretty TestShowDetails # | |
Instance detailsDefined in Distribution.Simple.Setup |
Pretty HaddockTarget # | |
Instance detailsDefined in Distribution.Simple.Setup |
Pretty a => Pretty (Identity a) # | |
Instance detailsDefined in Distribution.Pretty |
Pretty a => Pretty (MQuoted a) # | |
Instance detailsDefined in Distribution.Parsec.Newtypes |
(Newtype a b, Sep sep, Pretty b) => Pretty (Set' sep b a) # | |
Instance detailsDefined in Distribution.Parsec.Newtypes |
(Newtype a b, Sep sep, Pretty b) => Pretty (List sep b a) # | |
Instance detailsDefined in Distribution.Parsec.Newtypes |