Hoogle Search

Within LTS Haskell 24.18 (ghc-9.10.3)

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

  1. id :: a -> a

    base Prelude

    Identity function.

    id x = x
    
    This function might seem useless at first glance, but it can be very useful in a higher order context.

    Examples

    >>> length $ filter id [True, True, False, True]
    3
    
    >>> Just (Just 3) >>= id
    Just 3
    
    >>> foldr id 0 [(^3), (*5), (+2)]
    1000
    

  2. id :: a -> a

    base Data.Function

    Identity function.

    id x = x
    
    This function might seem useless at first glance, but it can be very useful in a higher order context.

    Examples

    >>> length $ filter id [True, True, False, True]
    3
    
    >>> Just (Just 3) >>= id
    Just 3
    
    >>> foldr id 0 [(^3), (*5), (+2)]
    1000
    

  3. id :: forall (a :: k) . Category cat => cat a a

    base Control.Category

    the identity morphism

  4. id :: a -> a

    base GHC.Base

    Identity function.

    id x = x
    
    This function might seem useless at first glance, but it can be very useful in a higher order context.

    Examples

    >>> length $ filter id [True, True, False, True]
    3
    
    >>> Just (Just 3) >>= id
    Just 3
    
    >>> foldr id 0 [(^3), (*5), (+2)]
    1000
    

  5. id :: a -> a

    hedgehog Hedgehog.Internal.Prelude

    Identity function.

    id x = x
    
    This function might seem useless at first glance, but it can be very useful in a higher order context.

    Examples

    >>> length $ filter id [True, True, False, True]
    3
    
    >>> Just (Just 3) >>= id
    Just 3
    
    >>> foldr id 0 [(^3), (*5), (+2)]
    1000
    

  6. id :: AttributeValue -> Attribute

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

    Combinator for the id attribute. Example:

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

  7. id :: AttributeValue -> Attribute

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

    Combinator for the id attribute. Example:

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

  8. id :: AttributeValue -> Attribute

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

    Combinator for the id attribute. Example:

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

  9. id :: AttributeValue -> Attribute

    blaze-html Text.Blaze.Html5.Attributes

    Combinator for the id attribute. Example:

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

  10. id :: AttributeValue -> Attribute

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

    Combinator for the id attribute. Example:

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

Page 10 of many | Previous | Next