Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. headStyle :: forall n f . Functor f => (Style V2 n -> f (Style V2 n)) -> ArrowOpts n -> f (ArrowOpts n)

    diagrams-lib Diagrams.TwoD.Arrow

    Style to apply to the head. headStyle is modified by using the lens combinator %~ to change the current style. For example, to change an opaque black arrowhead to translucent orange: (with & headStyle %~ fc orange . opacity 0.75).

  2. headTexture :: TypeableFloat n => Lens' (ArrowOpts n) (Texture n)

    diagrams-lib Diagrams.TwoD.Arrow

    A lens for setting or modifying the texture of an arrowhead. For example, one may write ... (with & headTexture .~ grad) to get an arrow with a head filled with a gradient, assuming grad has been defined. Or ... (with & headTexture .~ solid blue to set the head color to blue. For more general control over the style of arrowheads, see headStyle.

  3. head1 :: Foldable1 f => f a -> a

    relude Relude.Extra.Foldable1

    The first element of a non-empty data structure.

    >>> head1 (1 :| [2, 3, 4])
    1
    

  4. header :: Int -> Inlines -> Blocks

    pandoc-types Text.Pandoc.Builder

    No documentation available.

  5. headerWith :: Attr -> Int -> Inlines -> Blocks

    pandoc-types Text.Pandoc.Builder

    No documentation available.

  6. head_ :: Monad m => Stream (Of a) m r -> m (Maybe a)

    streaming Streaming.Prelude

    No documentation available.

  7. headWith :: Options -> String -> IO (Response ())

    wreq Network.Wreq

    Issue a HEAD request, using the supplied Options. Example:

    let opts = defaults & param "foo" .~ ["bar"]
    headWith opts "http://httpbin.org/get"
    
    
    >>> let opts = defaults & param "foo" .~ ["bar"]
    
    >>> r <- headWith opts "http://httpbin.org/get"
    
    >>> r ^? responseHeader "Connection"
    Just "keep-alive"
    

  8. head_ :: String -> IO (Response ())

    wreq Network.Wreq

    Issue a HEAD request. Example:

    head_ "http://httpbin.org/get"
    
    
    >>> r <- head_ "http://httpbin.org/get"
    
    >>> r ^? responseHeader "Content-Type"
    Just "application/json"
    

  9. header :: HeaderName -> Lens' Options [ByteString]

    wreq Network.Wreq

    A lens onto all headers with the given name (there can legitimately be zero or more). Example:

    let opts = defaults & header "Accept" .~ ["*/*"]
    getWith opts "http://httpbin.org/get"
    
    

  10. headers :: Lens' Options [Header]

    wreq Network.Wreq

    A lens onto all headers (there can legitimately be zero or more). In this example, we print all the headers sent by default with every request.

    print (defaults ^. headers)
    
    

Page 31 of many | Previous | Next