text-show-instances-3.3: Additional instances for text-show

Copyright(C) 2014-2016 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.GHC.PackageDb

Contents

Description

Monomorphic TextShow functions for data types in the GHC.PackageDb module. This module only exports functions if using ghc-boot.

Since: 3.3

Synopsis

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 # 

Methods

liftShowbPrec2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> OriginalModule a b -> Builder #

liftShowbList2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> [OriginalModule a b] -> Builder #

TextShow2 ExposedModule Source # 

Methods

liftShowbPrec2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> ExposedModule a b -> Builder #

liftShowbList2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> [ExposedModule a b] -> Builder #

TextShow unitid0 => TextShow1 (OriginalModule unitid0) Source # 

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> OriginalModule unitid0 a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [OriginalModule unitid0 a] -> Builder #

TextShow unitid0 => TextShow1 (ExposedModule unitid0) Source # 

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> ExposedModule unitid0 a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [ExposedModule unitid0 a] -> Builder #

(TextShow unitid0, TextShow modulename0) => TextShow (OriginalModule unitid0 modulename0) Source # 

Methods

showbPrec :: Int -> OriginalModule unitid0 modulename0 -> Builder #

showb :: OriginalModule unitid0 modulename0 -> Builder #

showbList :: [OriginalModule unitid0 modulename0] -> Builder #

showtPrec :: Int -> OriginalModule unitid0 modulename0 -> Text #

showt :: OriginalModule unitid0 modulename0 -> Text #

showtList :: [OriginalModule unitid0 modulename0] -> Text #

showtlPrec :: Int -> OriginalModule unitid0 modulename0 -> Text #

showtl :: OriginalModule unitid0 modulename0 -> Text #

showtlList :: [OriginalModule unitid0 modulename0] -> Text #

(TextShow unitid0, TextShow modulename0) => TextShow (ExposedModule unitid0 modulename0) Source # 

Methods

showbPrec :: Int -> ExposedModule unitid0 modulename0 -> Builder #

showb :: ExposedModule unitid0 modulename0 -> Builder #

showbList :: [ExposedModule unitid0 modulename0] -> Builder #

showtPrec :: Int -> ExposedModule unitid0 modulename0 -> Text #

showt :: ExposedModule unitid0 modulename0 -> Text #

showtList :: [ExposedModule unitid0 modulename0] -> Text #

showtlPrec :: Int -> ExposedModule unitid0 modulename0 -> Text #

showtl :: ExposedModule unitid0 modulename0 -> Text #

showtlList :: [ExposedModule unitid0 modulename0] -> Text #

(TextShow srcpkgid0, TextShow srcpkgname0) => TextShow2 (InstalledPackageInfo srcpkgid0 srcpkgname0) Source # 

Methods

liftShowbPrec2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> InstalledPackageInfo srcpkgid0 srcpkgname0 a b -> Builder #

liftShowbList2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> [InstalledPackageInfo srcpkgid0 srcpkgname0 a b] -> Builder #

(TextShow srcpkgid0, TextShow srcpkgname0, TextShow unitid0) => TextShow1 (InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0) Source # 

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 a] -> Builder #

(TextShow srcpkgid0, TextShow srcpkgname0, TextShow unitid0, TextShow modulename0) => TextShow (InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0) Source # 

Methods

showbPrec :: Int -> InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0 -> Builder #

showb :: InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0 -> Builder #

showbList :: [InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0] -> Builder #

showtPrec :: Int -> InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0 -> Text #

showt :: InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0 -> Text #

showtList :: [InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0] -> Text #

showtlPrec :: Int -> InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0 -> Text #

showtl :: InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0 -> Text #

showtlList :: [InstalledPackageInfo srcpkgid0 srcpkgname0 unitid0 modulename0] -> Text #