Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
summarizeSuiteFinish :: TestSuiteLog -> StringCabal Distribution.Simple.Test.Log Print a summary of the test suite's results on the console, suppressing output for certain verbosity or test filter levels.
summarizeSuiteStart :: String -> StringCabal Distribution.Simple.Test.Log No documentation available.
summarizeTest :: Verbosity -> TestShowDetails -> TestLogs -> IO ()Cabal Distribution.Simple.Test.Log Print a summary of a single test case's result to the console, suppressing output for certain verbosity or test filter levels.
summaryExamples :: Summary -> !Inthspec-core Test.Hspec.Core.Runner No documentation available.
summaryFailures :: Summary -> !Inthspec-core Test.Hspec.Core.Runner No documentation available.
-
cmdargs System.Console.CmdArgs.Implicit Modes: "My program name/version/copyright is ..." One line summary of the entire program, the first line of --help and the only line of --version. If the string contains a version number component will also provide --numeric-version.
Sample{..} &= summary "CmdArgs v0.0, (C) Neil Mitchell 1981" sumV :: (Foldable f, Additive v, Num a) => f (v a) -> v alinear Linear.Vector Sum over multiple vectors
>>> sumV [V2 1 1, V2 3 4] V2 4 5
sumOf :: forall k a (is :: IxList) s . (Is k A_Fold, Num a) => Optic' k is s a -> s -> aoptics-core Optics.Fold Calculate the Sum of every number targeted by a Fold.
>>> sumOf each (5,6) 11 >>> sumOf folded [1,2,3,4] 10 >>> sumOf (folded % each) [(1,2),(3,4)] 10
sum ≡ sumOf folded
This operation may be more strict than you would expect. If you want a lazier version use \o -> getSum . foldMapOf o Sum-
optics-core Optics.Fold Return entries of the first Fold, then the second one.
>>> toListOf (_1 % ix 0 `summing` _2 % ix 1) ([1,2], [4,7,1]) [1,7]
For the traversal version see adjoin. sumElements :: Container c e => c e -> ehmatrix Numeric.LinearAlgebra the sum of elements