Search results
A representation for types with multiple constructors.
sum :: forall a f. Foldable f => Semiring a => f a -> a
Find the sum of the numeric values in a data structure.
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.
sum :: forall s. Semiring s => Fold s s
A Fold which computes the sum of its inputs
(generalized to work with an arbitrary Semiring).
sum :: forall a. Semiring a => Vector a -> a
Sum vector elements
sum :: forall p a f. Semiring p => Foldable f => Functor f => f (Tuple a p) -> p
The sum of polynomial functors.
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
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
Sum :: Coord -> Coord -> Coord
sum :: Coord -> Coord -> Coord
sum :: forall ri a. Sum ri a => Record ri -> Gen a
sum :: forall spec a. Sum spec a => Record spec -> Json -> Either JsonDecodeError a
sum :: forall sumSpec a. Sum sumSpec a => Record sumSpec -> (a -> Json)
sum :: forall d c b a. Iso (Sum a b) (Sum c d) (Either a b) (Either c d)
Iso between Sum and Either
Sum :: AggregationType
Sum :: PivotTableSummarizeFunction
sum :: Array HuffmanTree -> Number
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)
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.
sum :: forall eff. Timer -> Eff (ref :: REF | eff) (Maybe Number)
Returns the sum of the measurements in the 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 -- ""
sum :: forall s. Semiring s => Fold s s
A Fold which computes the sum of its inputs
(generalized to work with an arbitrary Semiring).
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
sum :: forall b a. UnaryOperator a b b
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.
Sum :: forall f a g. Boolean -> (f a) -> (g a) -> Sum f g a
sum :: StringConst "sum"
sum :: forall x r. Semiring x => Run (Producer x r) Unit -> Run r x
Returns the sum of values yielded by a Producer.
sum :: forall a r. Arith a a a r => Array a -> a
sum :: forall a. Array a -> a
sumA :: forall repr. DataDSL repr => repr (Array Number) -> repr Number
Sum numeric array
Spreadsheet equivalent: =SUM(range)
SumL :: forall a c b. (a c) -> Sum a b c
SumR :: forall b c a. (b c) -> Sum a b c
sum_ :: forall a s. Col s a -> Aggr s (Maybe String)
sumV :: forall f g a. Foldable f => Additive g => Semiring a => f (g a) -> g a
Sum a collection of vectors
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.
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
a + b = c
SumL_2 :: forall p a b q. (p a b) -> Sum_2 p q a b
SumR_2 :: forall q a b p. (q a b) -> Sum_2 p q a b
sumana :: forall opts opts_. Union opts opts_ GoogleFontOptions => Record opts -> FontConfig
sumbit :: forall (subj :: Subject) (id :: Symbol) state m. Respresents Form subj id => NodeKey subj id -> BlessedOp state m
sumbit :: forall (subj :: Subject) (id :: Symbol) state m. Respresents TextArea subj id => NodeKey subj id -> BlessedOp state m
sumInl :: forall r b a. Prism (Sum a r) (Sum b r) a b
Prism into the Inl of Sum