Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showList__ :: (a -> ShowS) -> [a] -> ShowSbase GHC.Show No documentation available.
-
base GHC.Show Convert a character to a string using only printable characters, using Haskell source-language escape conventions. For example:
showLitChar '\n' s = "\\n" ++ s
showLitString :: String -> ShowSbase GHC.Show Same as showLitChar, but for strings It converts the string to a string using Haskell escape conventions for non-printable characters. Does not add double-quotes around the whole thing; the caller should do that. The main difference from showLitChar (apart from the fact that the argument is a string not a list) is that we must escape double-quotes
showMultiLineString :: String -> [String]base GHC.Show Like showLitString (expand escape characters using Haskell escape conventions), but * break the string into multiple lines * wrap the entire thing in double quotes Example: showMultiLineString "hellongoodbyenblah" returns [""hello\n\", "\goodbyen\", "\blah""]
showParen :: Bool -> ShowS -> ShowSbase GHC.Show utility function that surrounds the inner show function with parentheses when the Bool parameter is True.
showSignedInt :: Int -> Int -> ShowSbase GHC.Show No documentation available.
-
base GHC.Show No documentation available.
-
base GHC.Show utility function converting a String to a show function that simply prepends the string unchanged.
-
base GHC.Show equivalent to showsPrec with a precedence of 0.
showsPrec :: Show a => Int -> a -> ShowSbase GHC.Show 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.