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.
showsPrec :: Show a => Int -> a -> ShowSnumeric-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.-
numeric-prelude NumericPrelude.Base utility function converting a Char to a show function that simply prepends the character unchanged.
showList :: Show a => [a] -> ShowSnumeric-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.
showParen :: Bool -> ShowS -> ShowSnumeric-prelude NumericPrelude.Base utility function that surrounds the inner show function with parentheses when the Bool parameter is True.
-
numeric-prelude NumericPrelude.Base utility function converting a String to a show function that simply prepends the string unchanged.
-
numeric-prelude NumericPrelude.Base equivalent to showsPrec with a precedence of 0.
showsPrec :: Show a => Int -> a -> ShowSnumeric-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.-
numhask NumHask.Prelude utility function converting a Char to a show function that simply prepends the character unchanged.
showList :: Show a => [a] -> ShowSnumhask 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.
showParen :: Bool -> ShowS -> ShowSnumhask NumHask.Prelude utility function that surrounds the inner show function with parentheses when the Bool parameter is True.