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.

  1. format :: (HasCallStack, FormatType r) => Format -> r

    fmt 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 = 4
    
    You can use arbitrary formatters:
    >>> format "0x{} + 0x{} = 0x{}" (hexF 130) (hexF 270) (hexF (130+270))
    0x82 + 0x10e = 0x190
    

  2. formatLn :: (HasCallStack, FormatType r) => Format -> r

    fmt Fmt

    Like format, but adds a newline.

  3. format :: (HasCallStack, FormatType r) => Format -> r

    fmt 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 = 4
    
    You can use arbitrary formatters:
    >>> format "0x{} + 0x{} = 0x{}" (hexF 130) (hexF 270) (hexF (130+270))
    0x82 + 0x10e = 0x190
    

  4. format' :: FormatType r => Format -> [Builder] -> r

    fmt Fmt.Internal.Template

    No documentation available.

  5. formatLn :: (HasCallStack, FormatType r) => Format -> r

    fmt Fmt.Internal.Template

    Like format, but adds a newline.

  6. fore :: Colour -> Chunk -> Chunk

    safe-coloured-text Text.Colour

    No documentation available.

  7. fore :: Colour -> Chunk -> Chunk

    safe-coloured-text Text.Colour.Chunk

    No documentation available.

  8. force :: TextBuilder -> TextBuilder

    text-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.

  9. forMaybe :: (Witherable t, Applicative f) => t a -> (a -> f (Maybe b)) -> f (t b)

    witherable Witherable

    forMaybe = flip wither
    

  10. force :: NormalForm a => a -> a

    basement Basement.NormalForm

    No documentation available.

Page 49 of many | Previous | Next