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.

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

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

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

  4. showParen :: Bool -> ShowS -> ShowS

    base GHC.Show

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

  5. showSignedInt :: Int -> Int -> ShowS

    base GHC.Show

    No documentation available.

  6. showSpace :: ShowS

    base GHC.Show

    No documentation available.

  7. showString :: String -> ShowS

    base GHC.Show

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

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

    base GHC.Show

    equivalent to showsPrec with a precedence of 0.

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

  10. showText :: Text -> String

    text Data.Text.Internal

    A useful show-like function for debugging purposes.

Page 52 of many | Previous | Next