Hoogle Search

Within LTS Haskell 24.32 (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

    rebase Rebase.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.

  2. show_command :: FilePath -> [Text] -> Text

    shelly Shelly

    No documentation available.

  3. show_command :: FilePath -> [Text] -> Text

    shelly Shelly.Lifted

    No documentation available.

  4. show_command :: FilePath -> [Text] -> Text

    shelly Shelly.Pipe

    see show_command

  5. package show-combinators

    Combinators to write Show instances A minimal pretty-printing library for Show instances in Haskell.

  6. showApp :: PrecShowS -> PrecShowS -> PrecShowS

    show-combinators Text.Show.Combinators

    Show a function application.

  7. showCon :: String -> PrecShowS

    show-combinators Text.Show.Combinators

    Show a constructor. Possible constructor names are:

    • regular constructors (e.g., "Left");
    • parenthesized infix constructors (e.g., "(:)");
    • smart constructors, for abstract types (e.g., "Map.fromList").

    Example with smart constructor

    instance (Show k, Show v) => Show (Map k v) where
    showsPrec = flip precShows where
    precShows m = showCon "Map.fromList" @| Map.toList m
    
    -- Example output:
    -- > Map.fromList [(33, True), (55, False)]
    

  8. showField :: String -> PrecShowS -> ShowFields

    show-combinators Text.Show.Combinators

    Show a single record field: a field name and a value separated by '='.

  9. showInfix :: String -> Int -> PrecShowS -> PrecShowS -> PrecShowS

    show-combinators Text.Show.Combinators

    Show an applied infix operator with a given precedence.

  10. showInfix' :: (Show a, Show b) => String -> Int -> a -> b -> PrecShowS

    show-combinators Text.Show.Combinators

    Show an applied infix operator with a given precedence. This is a shorthand for showInfix when the arguments types are instances of Show.

    showInfix' op prec x y =
    showInfix op prec (flip showsPrec x) (flip showsPrec y)
    

Page 91 of many | Previous | Next