Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sumNestedAssociative :: C a => [a] -> anumeric-prelude Algebra.Additive Sum the operands in an order, such that the dependencies are minimized. Does this have a measurably effect on speed? Requires associativity.
\ns -> A.sum ns == (A.sumNestedAssociative ns :: Integer)
sumNestedCommutative :: C a => [a] -> anumeric-prelude Algebra.Additive Make sure that the last entries in the list are equally often part of an addition. Maybe this can reduce rounding errors. The list that sum2 computes is a breadth-first-flattened binary tree. Requires associativity and commutativity.
\ns -> A.sum ns == (A.sumNestedCommutative ns :: Integer)
-
numeric-prelude MathObj.PowerSum No documentation available.
-
numeric-prelude NumericPrelude Sum up all elements of a non-empty list. This avoids including a zero which is useful for types where no universal zero is available. ToDo: Should have NonEmpty type.
\(QC.NonEmpty ns) -> A.sum ns == (A.sum1 ns :: Integer)
-
numeric-prelude NumericPrelude.Numeric Sum up all elements of a non-empty list. This avoids including a zero which is useful for types where no universal zero is available. ToDo: Should have NonEmpty type.
\(QC.NonEmpty ns) -> A.sum ns == (A.sum1 ns :: Integer)
summary :: HasSummary s a => Lens' s aswagger2 Data.Swagger.Lens No documentation available.
sumAdtDec :: Name -> [(Name, [Type])] -> Decth-lego THLego.Helpers No documentation available.
sumCon :: Name -> [Type] -> Conth-lego THLego.Helpers No documentation available.
sumAccessorIsLabel :: TyLit -> Type -> Name -> [Type] -> Decth-lego THLego.Instances instance (a ~ Maybe Text) => IsLabel "error" (Result -> a)
sumConstructorIsLabel :: TyLit -> Type -> Name -> [Type] -> Decth-lego THLego.Instances No documentation available.