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. show_command :: FilePath -> [Text] -> Text

    shelly Shelly

    No documentation available.

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

    shelly Shelly.Lifted

    No documentation available.

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

    shelly Shelly.Pipe

    see show_command

  4. package show-combinators

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

  5. showApp :: PrecShowS -> PrecShowS -> PrecShowS

    show-combinators Text.Show.Combinators

    Show a function application.

  6. 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)]
    

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

    show-combinators Text.Show.Combinators

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

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

    show-combinators Text.Show.Combinators

    Show an applied infix operator with a given precedence.

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

  10. showInfixl :: String -> Int -> PrecShowS -> PrecShowS -> PrecShowS

    show-combinators Text.Show.Combinators

    Show an applied infix operator which is left associative (infixl). Use with care.

    Warning

    This combinator assumes that, if there is another infix operator to the left, it is either left associative with the same precedence, or it has a different precedence. An expression containing two operators at the same level with different associativities is ambiguous and will not be shown correctly with showInfixl and showInfixr. By default, prefer showInfix and showInfix'.

Page 91 of many | Previous | Next