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.
sumEncoding :: SchemaOptions -> SumEncodingopenapi3 Data.OpenApi.ParamSchema Specifies how to encode constructors of a sum datatype.
sumEncoding :: SchemaOptions -> SumEncodingopenapi3 Data.OpenApi.Schema Specifies how to encode constructors of a sum datatype.
sumEncoding :: SchemaOptions -> SumEncodingopenapi3 Data.OpenApi.SchemaOptions Specifies how to encode constructors of a sum datatype.
sum' :: (Foldable t, Semiring a) => t a -> asemirings Data.Semiring The sum' function computes the additive sum of the elements in a structure. This function is strict. For a lazy version, see sum.
sumAccounts :: Account -> Accounthledger-lib Hledger.Data.Account Add subaccount-inclusive balances to an account tree.
sumPostings :: [Posting] -> MixedAmounthledger-lib Hledger.Data.Posting Sum all amounts from a list of postings.
summary_only :: HasReportOptsNoUpdate c => Lens' c Boolhledger-lib Hledger.Reports.ReportOptions No documentation available.
summary_only_ :: ReportOpts -> Boolhledger-lib Hledger.Reports.ReportOptions No documentation available.
sumStrict :: Num a => [a] -> ahledger-lib Hledger.Utils Strict version of sum that doesn’t leak space
-
numeric-prelude Algebra.Additive 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)