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.
pattern
ForImp :: CallConv -> Maybe Safety -> Maybe String -> Name -> Type -> Declhaskell-src-exts-simple Language.Haskell.Exts.Simple.Syntax No documentation available.
-
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 {}" -
hformat Text.Format No documentation available.
Format :: String -> [FormatArg] -> Formathformat Text.Format No documentation available.
-
hformat Text.Format No documentation available.
FormatNamed :: String -> ([String] -> Formatted) -> FormatArghformat Text.Format No documentation available.
FormatPos :: ([String] -> Formatted) -> FormatArghformat Text.Format No documentation available.
-
hformat Text.Format No documentation available.
-
hformat Text.Format Formattable class, by default using show
-
hformat Text.Format No documentation available.