Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
format :: (HasCallStack, FormatType r) => Format -> rfmt Fmt An old-style formatting function taken from text-format (see Data.Text.Format). Unlike format from Data.Text.Format, it can produce String and strict Text as well (and print to console too). Also it's polyvariadic:
>>> format "{} + {} = {}" 2 2 4 2 + 2 = 4You can use arbitrary formatters:>>> format "0x{} + 0x{} = 0x{}" (hexF 130) (hexF 270) (hexF (130+270)) 0x82 + 0x10e = 0x190formatLn :: (HasCallStack, FormatType r) => Format -> rfmt Fmt Like format, but adds a newline.
format :: (HasCallStack, FormatType r) => Format -> rfmt Fmt.Internal.Template An old-style formatting function taken from text-format (see Data.Text.Format). Unlike format from Data.Text.Format, it can produce String and strict Text as well (and print to console too). Also it's polyvariadic:
>>> format "{} + {} = {}" 2 2 4 2 + 2 = 4You can use arbitrary formatters:>>> format "0x{} + 0x{} = 0x{}" (hexF 130) (hexF 270) (hexF (130+270)) 0x82 + 0x10e = 0x190format' :: FormatType r => Format -> [Builder] -> rfmt Fmt.Internal.Template No documentation available.
formatLn :: (HasCallStack, FormatType r) => Format -> rfmt Fmt.Internal.Template Like format, but adds a newline.
fore :: Colour -> Chunk -> Chunksafe-coloured-text Text.Colour No documentation available.
fore :: Colour -> Chunk -> Chunksafe-coloured-text Text.Colour.Chunk No documentation available.
force :: TextBuilder -> TextBuildertext-builder TextBuilder Run the builder and pack the produced text into a new builder. Useful to have around builders that you reuse, because a forced builder is much faster, since it's virtually a single call to memcopy.
forMaybe :: (Witherable t, Applicative f) => t a -> (a -> f (Maybe b)) -> f (t b)witherable Witherable forMaybe = flip wither
force :: NormalForm a => a -> abasement Basement.NormalForm No documentation available.