Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showList :: Show a => [a] -> ShowSbase Prelude The method showList is provided to allow the programmer to give a specialised way of showing lists of values. For example, this is used by the predefined Show instance of the Char type, where values of type String should be shown in double quotes, rather than between square brackets.
showParen :: Bool -> ShowS -> ShowSbase Prelude utility function that surrounds the inner show function with parentheses when the Bool parameter is True.
-
base Prelude utility function converting a String to a show function that simply prepends the string unchanged.
-
base Prelude equivalent to showsPrec with a precedence of 0.
showsPrec :: Show a => Int -> a -> ShowSbase Prelude Convert a value to a readable String. showsPrec should satisfy the law
showsPrec d x r ++ s == showsPrec d x (r ++ s)
Derived instances of Read and Show satisfy the following: That is, readsPrec parses the string produced by showsPrec, and delivers the value that showsPrec started with.-
base Data.Char Convert a character to a string using only printable characters, using Haskell source-language escape conventions. For example:
showLitChar '\n' s = "\\n" ++ s
showConstr :: Constr -> Stringbase Data.Data Gets the string for a constructor
showsBinary1 :: (Show1 f, Show1 g, Show a) => String -> Int -> f a -> g a -> ShowSbase Data.Functor.Classes Deprecated: Use showsBinaryWith to define liftShowsPrec
showsBinaryWith :: (Int -> a -> ShowS) -> (Int -> b -> ShowS) -> String -> Int -> a -> b -> ShowSbase Data.Functor.Classes showsBinaryWith sp1 sp2 n d x y produces the string representation of a binary data constructor with name n and arguments x and y, in precedence context d.
showsPrec1 :: (Show1 f, Show a) => Int -> f a -> ShowSbase Data.Functor.Classes Lift the standard showsPrec and showList functions through the type constructor.