Copyright | (C) 2014-2016 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Provisional |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Monomorphic TextShow
functions for data types in the GHC.PackageDb module.
This module only exports functions if using ghc-boot
.
Since: 3.3
- liftShowbInstalledPackageInfoPrec2 :: (TextShow srcpkgid, TextShow srcpkgname) => (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> InstalledPackageInfo srcpkgid srcpkgname a b -> Builder
- liftShowbOriginalModulePrec2 :: (Int -> unitid -> Builder) -> ([unitid] -> Builder) -> (Int -> modulename -> Builder) -> ([modulename] -> Builder) -> Int -> OriginalModule unitid modulename -> Builder
- liftShowbExposedModulePrec2 :: (Int -> unitid -> Builder) -> ([unitid] -> Builder) -> (Int -> modulename -> Builder) -> ([modulename] -> Builder) -> Int -> ExposedModule unitid modulename -> Builder
Documentation
liftShowbInstalledPackageInfoPrec2 :: (TextShow srcpkgid, TextShow srcpkgname) => (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> InstalledPackageInfo srcpkgid srcpkgname a b -> Builder Source #
Convert an InstalledPackageInfo
value to a Builder
with the given
show functions and precedence.
This function is only available when using ghc-boot
and GHC 8.1 or later.
Since: 3.3
liftShowbOriginalModulePrec2 :: (Int -> unitid -> Builder) -> ([unitid] -> Builder) -> (Int -> modulename -> Builder) -> ([modulename] -> Builder) -> Int -> OriginalModule unitid modulename -> Builder Source #
Convert an OriginalModule
value to a Builder
with the given show functions
and precedence.
This function is only available when using ghc-boot
.
Since: 3.3
liftShowbExposedModulePrec2 :: (Int -> unitid -> Builder) -> ([unitid] -> Builder) -> (Int -> modulename -> Builder) -> ([modulename] -> Builder) -> Int -> ExposedModule unitid modulename -> Builder Source #
Convert an ExposedModule
value to a Builder
with the given show functions
and precedence.
This function is only available when using ghc-boot
.
Since: 3.3
Orphan instances
TextShow2 OriginalModule Source # | |
TextShow2 ExposedModule Source # | |
TextShow unitid0 => TextShow1 (OriginalModule unitid0) Source # | |
TextShow unitid0 => TextShow1 (ExposedModule unitid0) Source # | |
(TextShow unitid0, TextShow modulename0) => TextShow (OriginalModule unitid0 modulename0) Source # | |
(TextShow unitid0, TextShow modulename0) => TextShow (ExposedModule unitid0 modulename0) Source # | |
(TextShow srcpkgid0, TextShow srcpkgname0) => TextShow2 (InstalledPackageInfo srcpkgid0 srcpkgname0) Source # | |
(TextShow srcpkgid0, TextShow srcpkgname0, TextShow unitid0) => TextShow1 (InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0) Source # | |
(TextShow srcpkgid0, TextShow srcpkgname0, TextShow unitid0, TextShow modulename0) => TextShow (InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0) Source # | |