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. headDef :: a -> [a] -> a

    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)
    

  2. headDef :: a -> [a] -> a

    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)
    

  3. headers :: InternalResponse a -> Seq Header

    servant Servant.Types.Internal.Response

    No documentation available.

  4. headers :: AttributeValue -> Attribute

    blaze-html Text.Blaze.Html4.FrameSet.Attributes

    Combinator for the headers attribute. Example:

    div ! headers "bar" $ "Hello."
    
    Result:
    <div headers="bar">Hello.</div>
    

  5. headers :: AttributeValue -> Attribute

    blaze-html Text.Blaze.Html4.Strict.Attributes

    Combinator for the headers attribute. Example:

    div ! headers "bar" $ "Hello."
    
    Result:
    <div headers="bar">Hello.</div>
    

  6. headers :: AttributeValue -> Attribute

    blaze-html Text.Blaze.Html4.Transitional.Attributes

    Combinator for the headers attribute. Example:

    div ! headers "bar" $ "Hello."
    
    Result:
    <div headers="bar">Hello.</div>
    

  7. header :: Html -> Html

    blaze-html Text.Blaze.Html5

    Combinator for the <header> element. Example:

    header $ span $ toHtml "foo"
    
    Result:
    <header><span>foo</span></header>
    

  8. headers :: AttributeValue -> Attribute

    blaze-html Text.Blaze.Html5.Attributes

    Combinator for the headers attribute. Example:

    div ! headers "bar" $ "Hello."
    
    Result:
    <div headers="bar">Hello.</div>
    

  9. headers :: AttributeValue -> Attribute

    blaze-html Text.Blaze.XHtml1.FrameSet.Attributes

    Combinator for the headers attribute. Example:

    div ! headers "bar" $ "Hello."
    
    Result:
    <div headers="bar">Hello.</div>
    

  10. headers :: AttributeValue -> Attribute

    blaze-html Text.Blaze.XHtml1.Strict.Attributes

    Combinator for the headers attribute. Example:

    div ! headers "bar" $ "Hello."
    
    Result:
    <div headers="bar">Hello.</div>
    

Page 26 of many | Previous | Next