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
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 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
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
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
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
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
sumInr :: forall b a l. Prism (Sum l a) (Sum l b) a b

Prism into the Inr of Sum

P purescript-generics-rep-optics M Generic.Optic.Rep
P purescript-spec M Test.Spec.Summary
summary :: forall w i. Node HTMLsummary w i
P purescript-halogen M Halogen.HTML.Elements
summary :: Array Props -> Array ReactElement -> ReactElement
P purescript-react M React.DOM
summary :: Array Props -> Array ReactElement -> ReactElement
P purescript-react M React.DOM.Dynamic
summary :: String -> Props
P purescript-react M React.DOM.Props
summary :: forall e. Markup e -> Markup e
P purescript-smolder M Text.Smolder.HTML
summary :: String -> Attribute
P purescript-smolder M Text.Smolder.HTML.Attributes
summary :: Selector
P purescript-css M CSS.Elements