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.

  1. showList__ :: (a -> ShowS) -> [a] -> ShowS

    base GHC.Show

    No documentation available.

  2. showLitChar :: Char -> ShowS

    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
    

  3. showLitString :: String -> ShowS

    base 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

  4. 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""]

  5. showParen :: Bool -> ShowS -> ShowS

    base GHC.Show

    utility function that surrounds the inner show function with parentheses when the Bool parameter is True.

  6. showSignedInt :: Int -> Int -> ShowS

    base GHC.Show

    No documentation available.

  7. showSpace :: ShowS

    base GHC.Show

    No documentation available.

  8. showString :: String -> ShowS

    base GHC.Show

    utility function converting a String to a show function that simply prepends the string unchanged.

  9. shows :: Show a => a -> ShowS

    base GHC.Show

    equivalent to showsPrec with a precedence of 0.

  10. showsPrec :: Show a => Int -> a -> ShowS

    base 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.

Page 52 of many | Previous | Next