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.
-
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).
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.
head1 :: Foldable1 f => f a -> arelude Relude.Extra.Foldable1 The first element of a non-empty data structure.
>>> head1 (1 :| [2, 3, 4]) 1
header :: Int -> Inlines -> Blockspandoc-types Text.Pandoc.Builder No documentation available.
headerWith :: Attr -> Int -> Inlines -> Blockspandoc-types Text.Pandoc.Builder No documentation available.
head_ :: Monad m => Stream (Of a) m r -> m (Maybe a)streaming Streaming.Prelude No documentation available.
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"
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"
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"
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)