Hoogle Search
Within LTS Haskell 24.18 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
base GHC.Show utility function converting a Char to a show function that simply prepends the character unchanged.
-
base GHC.Show No documentation available.
showList :: Show a => [a] -> ShowSbase GHC.Show 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.
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.