Search results

A representation for types with multiple constructors.

P purescript-prelude M Data.Generic.Rep
sum :: forall a f. Foldable f => Semiring a => f a -> a

Find the sum of the numeric values in a data structure.

P purescript-foldable-traversable M Data.Foldable
sum :: forall a rep r. Generic a rep => GRouteDuplex rep r => Record r -> RouteDuplex' a

Builds a parser/printer from a record, where each record field corresponds to a constructor name for your data type.

Note: this implicitly inserts calls to end for each constructor, making the parser only valid for parsing URI suffixes. To parse URI prefixes, or to just have more explicit control, use sumPrefix.

P purescript-routing-duplex M Routing.Duplex.Generic
sum :: forall s. Semiring s => Fold s s

A Fold which computes the sum of its inputs (generalized to work with an arbitrary Semiring).

P purescript-folds M Control.Fold
sum :: forall a. Semiring a => Vector a -> a

Sum vector elements

P purescript-linear-algebra M LinearAlgebra.Vector
sum :: forall p a f. Semiring p => Foldable f => Functor f => f (Tuple a p) -> p
P purescript-probability M Math.Probability.Dist

The sum of polynomial functors.

P purescript-dissect M Dissect.Generic
sum :: forall a i p rep r s. Generic a rep => GDualSum p s i rep r => Functor (p i) => Alt (p i) => Profunctor p => (forall x l. IsSymbol l => Proxy l -> Dual p s i x -> Dual p s i x) -> Record r -> Dual p s i a
P purescript-polyform M Polyform.Dual.Generic.Sum
sum :: forall a m e i rep r s. Monad m => Semigroup e => Generic a rep => GDualSum (Validator m e) s i rep r => (forall x l. IsSymbol l => Proxy l -> Dual (Validator m e) s i x -> Dual (Validator m e) s i x) -> Record r -> Dual (Validator m e) s i a
P purescript-polyform M Polyform.Validator.Dual.Generic
Sum :: Coord -> Coord -> Coord
P purescript-blessed M Blessed.Core.Coord
sum :: Coord -> Coord -> Coord
P purescript-blessed M Blessed.Core.Coord
P purescript-classless-arbitrary M Classless.Arbitrary
sum :: forall ri a. Sum ri a => Record ri -> Gen a
P purescript-classless-arbitrary M Classless.Arbitrary
P purescript-classless-decode-json M Classless.DecodeJson.Generic
sum :: forall spec a. Sum spec a => Record spec -> Json -> Either JsonDecodeError a
P purescript-classless-decode-json M Classless.DecodeJson.Generic
P purescript-classless-encode-json M Classless.EncodeJson.Generic
sum :: forall sumSpec a. Sum sumSpec a => Record sumSpec -> (a -> Json)
P purescript-classless-encode-json M Classless.EncodeJson.Generic
sum :: forall d c b a. Iso (Sum a b) (Sum c d) (Either a b) (Either c d)

Iso between Sum and Either

P purescript-generics-rep-optics M Generic.Optic.Rep
Sum :: AggregationType
P purescript-google-apps M Data.Google.Apps.DataStudio.AggregationType
Sum :: PivotTableSummarizeFunction
P purescript-google-apps M Data.Google.Apps.Spreadsheet.PivotTableSummarizeFunction
sum :: Array HuffmanTree -> Number
P purescript-huffman M Data.Huffman.Tree
sum :: forall a. HierarchyNode a -> (a -> Number) -> ValuedNode a

Compute aggregate values bottom-up Matches D3's .sum() method

Formula: node.value = value(node.data) + Σ(child.value)

P purescript-hylograph-layout M DataViz.Layout.Hierarchy.Core
sum :: forall eff. Histogram -> Eff (ref :: REF | eff) (Maybe Number)

Returns the sum of the measurements in the histogram. Returns 'Nothing' if there are no measurements.

P purescript-metrics M System.Metrics.Histogram
sum :: forall eff. Timer -> Eff (ref :: REF | eff) (Maybe Number)

Returns the sum of the measurements in the timer.

P purescript-metrics M System.Metrics.Timer
sum :: forall b a. HasAdd b => HasReduce a => HasZero b => a b -> b

Adds all the elements of a container together. If the container is empty, returns zero.

[1, 2, 3] :sum -- 6
([] :: Array Int) :sum -- 0
["ab", "cd", "ef"] :sum -- "abcdef"
([] :: Array String) :sum -- ""
P purescript-neon M Neon.Helper
sum :: forall s. Semiring s => Fold s s

A Fold which computes the sum of its inputs (generalized to work with an arbitrary Semiring).

P purescript-open-folds M Control.Fold
sum :: forall r rep e m a. Monad m => Generic a rep => GDualSum (Validator m (Errors (JsonError e))) Json rep r => Record r -> JsonDual m e a
P purescript-polyform-validators M Polyform.Duals.Validators.Json
sum :: forall b a. UnaryOperator a b b
P purescript-querydsl M QueryDsl.Expressions

The Sum of two comonads, which allows us to be in one state or the other at a time, remembering the other state. We can also move from one state to the other using the moveLeft and moveRight actions.

P purescript-react-explore M React.Explore.Sum
Sum :: forall f a g. Boolean -> (f a) -> (g a) -> Sum f g a
P purescript-react-explore M React.Explore.Sum
sum :: StringConst "sum"
P purescript-react-mui M MaterialUI.Enums
sum :: forall x r. Semiring x => Run (Producer x r) Unit -> Run r x

Returns the sum of values yielded by a Producer.

P purescript-run-streaming M Run.Streaming.Prelude
sum :: forall a r. Arith a a a r => Array a -> a
P purescript-z3 M Z3
sum :: forall a. Array a -> a
P purescript-z3 M Z3.Internal
sumA :: forall repr. DataDSL repr => repr (Array Number) -> repr Number

Sum numeric array

Spreadsheet equivalent: =SUM(range)

P purescript-hylograph-selection M Hylograph.Unified.DataDSL
SumL :: forall a c b. (a c) -> Sum a b c
P purescript-dissect M Dissect.Generic
SumR :: forall b c a. (b c) -> Sum a b c
P purescript-dissect M Dissect.Generic
sum_ :: forall a s. Col s a -> Aggr s (Maybe String)
P purescript-selda M Selda
sumV :: forall f g a. Foldable f => Additive g => Semiring a => f (g a) -> g a

Sum a collection of vectors

P purescript-linear M Linear.Vector
sumOf :: forall s t a b. Semiring a => Fold (Additive a) s t a b -> s -> a

The sum of all foci of a Fold.

P purescript-profunctor-lenses M Data.Lens.Fold
P purescript-dissect M Dissect.Generic
sumOf :: forall @col name cols colEntry rest colType r err. IsSymbol name => IsSymbol col => Cons col colEntry rest cols => ExtractType colEntry colType => Proxy (Table name cols) -> Om { postgresConnection :: Connection | r } err Number
P purescript-yoga-postgres-om M Yoga.Postgres.ClientOm
P purescript-typelevel-peano M Type.Data.Peano.Int.Definition

a + b = c

P purescript-typelevel-peano M Type.Data.Peano.Nat.Definition
SumL_2 :: forall p a b q. (p a b) -> Sum_2 p q a b
P purescript-dissect M Dissect.Generic
SumR_2 :: forall q a b p. (q a b) -> Sum_2 p q a b
P purescript-dissect M Dissect.Generic
sumana :: forall opts opts_. Union opts opts_ GoogleFontOptions => Record opts -> FontConfig
P purescript-next-purs-rsc M Next.Font.Google.Sumana
sumbit :: forall (subj :: Subject) (id :: Symbol) state m. Respresents Form subj id => NodeKey subj id -> BlessedOp state m
P purescript-blessed M Blessed.UI.Forms.Form.Method
sumbit :: forall (subj :: Subject) (id :: Symbol) state m. Respresents TextArea subj id => NodeKey subj id -> BlessedOp state m
P purescript-blessed M Blessed.UI.Forms.TextArea.Method
sumInl :: forall r b a. Prism (Sum a r) (Sum b r) a b

Prism into the Inl of Sum

P purescript-generics-rep-optics M Generic.Optic.Rep