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.
id :: AttributeValue -> Attributeblaze-html Text.Blaze.XHtml1.Strict.Attributes Combinator for the id attribute. Example:
div ! id "bar" $ "Hello."
Result:<div id="bar">Hello.</div>
id :: AttributeValue -> Attributeblaze-html Text.Blaze.XHtml1.Transitional.Attributes Combinator for the id attribute. Example:
div ! id "bar" $ "Hello."
Result:<div id="bar">Hello.</div>
id :: AttributeValue -> Attributeblaze-html Text.Blaze.XHtml5.Attributes Combinator for the id attribute. Example:
div ! id "bar" $ "Hello."
Result:<div id="bar">Hello.</div>
-
ghc GHC.Prelude.Basic No documentation available.
-
rio RIO.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
-
Cabal-syntax Distribution.Compat.Prelude No documentation available.
-
relude Relude.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
id :: forall (a :: k) . Category cat => cat a abasement Basement.Compat.Base the identity morphism
id :: forall (a :: k) . Category cat => cat a abasement Basement.Imports the identity morphism
-
ghc-internal GHC.Internal.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