Hoogle Search

Within LTS Haskell 24.63 (ghc-9.10.3)

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

  1. layoutPageWidth :: LayoutOptions -> PageWidth

    optparse-applicative Options.Applicative.Help.Pretty

    No documentation available.

  2. pageWidth :: (PageWidth -> Doc ann) -> Doc ann

    optparse-applicative Options.Applicative.Help.Pretty

    Layout a document depending on the page width, if one has been specified.

    >>> let prettyPageWidth (AvailablePerLine l r) = "Width:" <+> pretty l <> ", ribbon fraction:" <+> pretty r
    
    >>> let doc = "prefix" <+> pageWidth (brackets . prettyPageWidth)
    
    >>> putDocW 32 (vsep [indent n doc | n <- [0,4,8]])
    prefix [Width: 32, ribbon fraction: 1.0]
    prefix [Width: 32, ribbon fraction: 1.0]
    prefix [Width: 32, ribbon fraction: 1.0]
    

  3. width :: Doc ann -> (Int -> Doc ann) -> Doc ann

    optparse-applicative Options.Applicative.Help.Pretty

    (width doc f) lays out the document doc, and makes the column width of it available to a function.

    >>> let annotate doc = width (brackets doc) (\w -> " <- width:" <+> pretty w)
    
    >>> align (vsep (map annotate ["---", "------", indent 3 "---", vsep ["---", indent 4 "---"]]))
    [---] <- width: 5
    [------] <- width: 8
    [   ---] <- width: 8
    [---
    ---] <- width: 8
    

  4. Hidden :: OptVisibility

    optparse-applicative Options.Applicative.Types

    only visible in the full description

  5. runIdentity :: Identity a -> a

    conduit Conduit

    No documentation available.

  6. slidingWindowC :: forall (m :: Type -> Type) seq a . (Monad m, IsSequence seq, Element seq ~ a) => Int -> ConduitT a seq m ()

    conduit Conduit

    Sliding window of values 1,2,3,4,5 with window size 2 gives [1,2],[2,3],[3,4],[4,5] Best used with structures that support O(1) snoc.

  7. data Void

    conduit Data.Conduit

    Uninhabited data type

  8. slidingWindow :: forall (m :: Type -> Type) seq a . (Monad m, IsSequence seq, Element seq ~ a) => Int -> ConduitT a seq m ()

    conduit Data.Conduit.Combinators

    Sliding window of values 1,2,3,4,5 with window size 2 gives [1,2],[2,3],[3,4],[4,5] Best used with structures that support O(1) snoc. Subject to fusion

  9. slidingWindowS :: forall (m :: Type -> Type) seq a . (Monad m, IsSequence seq, Element seq ~ a) => Int -> StreamConduit a m seq

    conduit Data.Conduit.Combinators.Stream

    No documentation available.

  10. InvalidChunkHeaders :: HttpExceptionContent

    http-client Network.HTTP.Client

    A chunked response body had invalid headers.

Page 401 of many | Previous | Next