Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

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

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

    pandoc-types Text.Pandoc.Builder

    No documentation available.

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

    pandoc-types Text.Pandoc.Builder

    No documentation available.

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

    streaming Streaming.Prelude

    No documentation available.

  5. 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"
    

  6. 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"
    

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

  8. 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)
    
    

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

    wreq Network.Wreq.Lens

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

    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