Hoogle Search
Within LTS Haskell 24.25 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sumOn' :: (Foldable f, Num b) => (a -> b) -> f a -> bextra Data.Foldable.Extra -
extra Data.List.Extra A strict version of sum. Unlike sum this function is always strict in the Num argument, whereas the standard version is only strict if the optimiser kicks in.
sum' [1, 2, 3] == 6
sumOn' :: Num b => (a -> b) -> [a] -> bextra Data.List.Extra A strict version of sum, using a custom valuation function.
sumOn' read ["1", "2", "3"] == 6
-
extra Extra A strict version of sum. Unlike sum this function is always strict in the Num argument, whereas the standard version is only strict if the optimiser kicks in.
sum' [1, 2, 3] == 6
sumOn' :: Num b => (a -> b) -> [a] -> bextra Extra A strict version of sum, using a custom valuation function.
sumOn' read ["1", "2", "3"] == 6
summary :: AttributeValue -> Attributeblaze-html Text.Blaze.Html4.FrameSet.Attributes Combinator for the summary attribute. Example:
div ! summary "bar" $ "Hello."
Result:<div summary="bar">Hello.</div>
summary :: AttributeValue -> Attributeblaze-html Text.Blaze.Html4.Strict.Attributes Combinator for the summary attribute. Example:
div ! summary "bar" $ "Hello."
Result:<div summary="bar">Hello.</div>
summary :: AttributeValue -> Attributeblaze-html Text.Blaze.Html4.Transitional.Attributes Combinator for the summary attribute. Example:
div ! summary "bar" $ "Hello."
Result:<div summary="bar">Hello.</div>
-
blaze-html Text.Blaze.Html5 Combinator for the <summary> element. Example:
summary $ span $ toHtml "foo"
Result:<summary><span>foo</span></summary>
summary :: AttributeValue -> Attributeblaze-html Text.Blaze.Html5.Attributes Combinator for the summary attribute. Example:
div ! summary "bar" $ "Hello."
Result:<div summary="bar">Hello.</div>