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.
-
extra Data.List.Extra A total head with a default value.
headDef 1 [] == 1 headDef 1 [2,3,4] == 2 \x xs -> headDef x xs == fromMaybe x (listToMaybe xs)
-
extra Extra A total head with a default value.
headDef 1 [] == 1 headDef 1 [2,3,4] == 2 \x xs -> headDef x xs == fromMaybe x (listToMaybe xs)
headers :: InternalResponse a -> Seq Headerservant Servant.Types.Internal.Response No documentation available.
headers :: AttributeValue -> Attributeblaze-html Text.Blaze.Html4.FrameSet.Attributes Combinator for the headers attribute. Example:
div ! headers "bar" $ "Hello."
Result:<div headers="bar">Hello.</div>
headers :: AttributeValue -> Attributeblaze-html Text.Blaze.Html4.Strict.Attributes Combinator for the headers attribute. Example:
div ! headers "bar" $ "Hello."
Result:<div headers="bar">Hello.</div>
headers :: AttributeValue -> Attributeblaze-html Text.Blaze.Html4.Transitional.Attributes Combinator for the headers attribute. Example:
div ! headers "bar" $ "Hello."
Result:<div headers="bar">Hello.</div>
-
blaze-html Text.Blaze.Html5 Combinator for the <header> element. Example:
header $ span $ toHtml "foo"
Result:<header><span>foo</span></header>
headers :: AttributeValue -> Attributeblaze-html Text.Blaze.Html5.Attributes Combinator for the headers attribute. Example:
div ! headers "bar" $ "Hello."
Result:<div headers="bar">Hello.</div>
headers :: AttributeValue -> Attributeblaze-html Text.Blaze.XHtml1.FrameSet.Attributes Combinator for the headers attribute. Example:
div ! headers "bar" $ "Hello."
Result:<div headers="bar">Hello.</div>
headers :: AttributeValue -> Attributeblaze-html Text.Blaze.XHtml1.Strict.Attributes Combinator for the headers attribute. Example:
div ! headers "bar" $ "Hello."
Result:<div headers="bar">Hello.</div>