Hoogle Search

Within LTS Haskell 24.19 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

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

    numeric-prelude NumericPrelude

    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.

  2. showChar :: Char -> ShowS

    numeric-prelude NumericPrelude.Base

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

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

    numeric-prelude NumericPrelude.Base

    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.

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

    numeric-prelude NumericPrelude.Base

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

  5. showString :: String -> ShowS

    numeric-prelude NumericPrelude.Base

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

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

    numeric-prelude NumericPrelude.Base

    equivalent to showsPrec with a precedence of 0.

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

    numeric-prelude NumericPrelude.Base

    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.

  8. showChar :: Char -> ShowS

    numhask NumHask.Prelude

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

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

    numhask NumHask.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.

  10. showParen :: Bool -> ShowS -> ShowS

    numhask NumHask.Prelude

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

Page 75 of many | Previous | Next