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. showChar :: Char -> ShowS

    base Prelude

    utility function converting a Char to a show function that simply prepends the character unchanged.

  2. showList :: Show a => [a] -> ShowS

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

  3. showParen :: Bool -> ShowS -> ShowS

    base Prelude

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

  4. showString :: String -> ShowS

    base Prelude

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

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

    base Prelude

    equivalent to showsPrec with a precedence of 0.

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

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

  7. showLitChar :: Char -> ShowS

    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
    

  8. showConstr :: Constr -> String

    base Data.Data

    Gets the string for a constructor

  9. showsBinary1 :: (Show1 f, Show1 g, Show a) => String -> Int -> f a -> g a -> ShowS

    base Data.Functor.Classes

    Deprecated: Use showsBinaryWith to define liftShowsPrec

  10. showsBinaryWith :: (Int -> a -> ShowS) -> (Int -> b -> ShowS) -> String -> Int -> a -> b -> ShowS

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

Page 47 of many | Previous | Next