Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. pattern ForImp :: CallConv -> Maybe Safety -> Maybe String -> Name -> Type -> Decl

    haskell-src-exts-simple Language.Haskell.Exts.Simple.Syntax

    No documentation available.

  2. module Text.Format

    Format string with named args

    -- Named args
    "My name is {name}, I am {age} years old" ~~ ("name" ~% "Joe") ~~ ("age" ~% 24) ≡ "My name is Joe, I am 24 years old"
    -- Arg can have default value
    "{var:x} = {val:10}" ~~ ("var" ~% y) ≡ "y = 10"
    -- Numeric position can be used
    "{0} {1} {0}" ~~ "foo" ~~ "bar" ≡ "foo bar foo"
    -- Positions can be omitted
    "{} {}" ~~ "foo" ~~ 10 ≡ "foo 10"
    -- Double braces to escape them
    "{} and {{}}" ~~ 10 ≡ "10 and {}"
    

  3. data Format

    hformat Text.Format

    No documentation available.

  4. Format :: String -> [FormatArg] -> Format

    hformat Text.Format

    No documentation available.

  5. data FormatArg

    hformat Text.Format

    No documentation available.

  6. FormatNamed :: String -> ([String] -> Formatted) -> FormatArg

    hformat Text.Format

    No documentation available.

  7. FormatPos :: ([String] -> Formatted) -> FormatArg

    hformat Text.Format

    No documentation available.

  8. class FormatResult r

    hformat Text.Format

    No documentation available.

  9. class Formattable a

    hformat Text.Format

    Formattable class, by default using show

  10. newtype Formatted

    hformat Text.Format

    No documentation available.

Page 330 of many | Previous | Next