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. showTreeWith :: (forall (v :: k1) . () => k2 v -> f v -> String) -> Bool -> Bool -> MonoidalDMap k2 f -> String

    dependent-monoidal-map Data.Dependent.Map.Monoidal

    O(n). The expression (showTreeWith showelem hang wide map) shows the tree that implements the map. Elements are shown using the showElem function. If hang is True, a hanging tree is shown otherwise a rotated tree is shown. If wide is True, an extra wide version is shown.

  2. showIn :: forall a (m :: Metricality) (d :: Dimension) . (Show a, Fractional a) => Unit m d a -> Quantity d a -> String

    dimensional Numeric.Units.Dimensional

    Shows the value of a Quantity expressed in a specified Unit of the same Dimension. Uses non-breaking spaces between the value and the unit, and within the unit name.

    >>> putStrLn $ showIn watt $ (37 *~ volt) * (4 *~ ampere)
    148.0 W
    

  3. showChar :: Char -> ShowS

    dimensional Numeric.Units.Dimensional.Prelude

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

  4. showIn :: forall a (m :: Metricality) (d :: Dimension) . (Show a, Fractional a) => Unit m d a -> Quantity d a -> String

    dimensional Numeric.Units.Dimensional.Prelude

    Shows the value of a Quantity expressed in a specified Unit of the same Dimension. Uses non-breaking spaces between the value and the unit, and within the unit name.

    >>> putStrLn $ showIn watt $ (37 *~ volt) * (4 *~ ampere)
    148.0 W
    

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

    dimensional Numeric.Units.Dimensional.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.

  6. showParen :: Bool -> ShowS -> ShowS

    dimensional Numeric.Units.Dimensional.Prelude

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

  7. showString :: String -> ShowS

    dimensional Numeric.Units.Dimensional.Prelude

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

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

    dimensional Numeric.Units.Dimensional.Prelude

    equivalent to showsPrec with a precedence of 0.

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

    dimensional Numeric.Units.Dimensional.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.

  10. showChar :: Char -> ShowS

    distribution-opensuse OpenSuse.Prelude

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

Page 142 of many | Previous | Next