Hoogle Search

Within LTS Haskell 24.48 (ghc-9.10.3)

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

  1. forgetValueAnns :: Value' a -> Value

    toml-parser Toml.Semantics

    Replaces annotations with a unit.

  2. forgetTableAnns :: Table' a -> Table

    toml-parser Toml.Semantics.Types

    Replaces annotations with a unit.

  3. forgetValueAnns :: Value' a -> Value

    toml-parser Toml.Semantics.Types

    Replaces annotations with a unit.

  4. formatNumber :: Text -> Int -> Text

    typst Typst.Methods

    No documentation available.

  5. format :: FormatType r => Format -> r

    vformat Text.Format

    Format a variable number of arguments with Python-style format string

    >>> format "{:s}, {:d}, {:.4f}" "hello" 123 pi
    "hello, 123, 3.1416"
    
    >>> format "{1:s}, {0:d}, {2:.4f}" 123 "hello" pi
    "hello, 123, 3.1416"
    
    >>> format "{:s} {:d} {pi:.4f}" "hello" 123 ("pi" := pi)
    "hello, 123, 3.1416"
    
    See Format to learn more about format string syntax. See FormatArg to learn how to derive FormatArg for your own data types.

  6. format1 :: FormatArg a => Format1 -> a -> String

    vformat Text.Format

    A variant of format, it takes only one positional argument

    >>> :set -XDeriveGeneric
    
    >>> import GHC.Generics
    
    >>> data Triple = Triple String Int Double deriving Generic
    
    >>> instance FormatArg Triple
    
    >>> format "{0!0:s} {0!1:d} {0!2:.4f}" $ Triple "hello" 123 pi
    "hello, 123, 3.1416"
    
    >>> format1 "{0:s} {1:d} {2:.4f}" $ Triple "hello" 123 pi
    "hello, 123, 3.1416"
    

  7. formatArg :: FormatArg a => a -> Formatter

    vformat Text.Format

    No documentation available.

  8. formatChar :: Char -> Formatter

    vformat Text.Format

    Formatter for Char values

  9. formatInt :: (Integral a, Bounded a) => a -> Formatter

    vformat Text.Format

    Formatter for Int values

  10. formatInteger :: Integer -> Formatter

    vformat Text.Format

    Formatter for Integer values

Page 146 of many | Previous | Next