std@0.147.0/collections/running_reduce.ts

Deno standard library
Go to Latest
mod.ts (default module)
c
BinaryHeap
c
BSTree
c
RBTree
f
aggregateGroups
f
ascend
f
associateBy
f
associateWith
f
chunk
f
deepMerge
f
descend
f
distinct
f
distinctBy
f
dropLastWhile
f
dropWhile
f
filterEntries
f
filterKeys
f
filterValues
f
findSingle
f
firstNotNullishOf
f
groupBy
f
includesValue
f
intersect
f
joinToString
f
mapEntries
f
mapKeys
f
mapNotNullish
f
mapValues
f
maxBy
f
maxOf
f
maxWith
f
minBy
f
minOf
f
minWith
f
partition
f
permutations
f
reduceGroups
f
runningReduce
f
sample
f
slidingWindows
f
sortBy
f
sumOf
f
takeLastWhile
f
takeWhile
f
union
f
unzip
f
withoutAll
f
zip
T
DeepMerge
T
DeepMergeOptions
T
JoinToStringOptions
T
MergingStrategy
aggregate_groups.ts
f
aggregateGroups
associate_by.ts
f
associateBy
associate_with.ts
f
associateWith
binary_heap.ts
c
BinaryHeap
f
ascend
f
descend
binary_search_node.ts
c
BinarySearchNode
T
Direction
binary_search_tree.ts
c
BinarySearchTree
f
ascend
f
descend
bs_node.ts
c
BSNode
T
direction
T
Direction
bs_tree.ts
c
BSTree
f
ascend
f
descend
chunk.ts
f
chunk
deep_merge.ts
f
deepMerge
T
DeepMerge
T
DeepMergeOptions
T
MergingStrategy
distinct_by.ts
f
distinctBy
distinct.ts
f
distinct
drop_last_while.ts
f
dropLastWhile
drop_while.ts
f
dropWhile
filter_entries.ts
f
filterEntries
filter_keys.ts
f
filterKeys
filter_values.ts
f
filterValues
find_single.ts
f
findSingle
first_not_nullish_of.ts
f
firstNotNullishOf
group_by.ts
f
groupBy
includes_value.ts
f
includesValue
intersect.ts
f
intersect
join_to_string.ts
f
joinToString
T
JoinToStringOptions
map_entries.ts
f
mapEntries
map_keys.ts
f
mapKeys
map_not_nullish.ts
f
mapNotNullish
map_values.ts
f
mapValues
max_by.ts
f
maxBy
max_of.ts
f
maxOf
max_with.ts
f
maxWith
min_by.ts
f
minBy
min_of.ts
f
minOf
min_with.ts
f
minWith
partition.ts
f
partition
permutations.ts
f
permutations
rb_node.ts
c
RBNode
T
direction
T
Direction
rb_tree.ts
c
RBTree
f
ascend
f
descend
red_black_node.ts
c
RedBlackNode
T
direction
T
Direction
red_black_tree.ts
c
RedBlackTree
f
ascend
f
descend
reduce_groups.ts
f
reduceGroups
running_reduce.ts
f
runningReduce
sample.ts
f
sample
sliding_windows.ts
f
slidingWindows
sort_by.ts
f
sortBy
sum_of.ts
f
sumOf
take_last_while.ts
f
takeLastWhile
take_while.ts
f
takeWhile
union.ts
f
union
unzip.ts
f
unzip
without_all.ts
f
withoutAll
zip.ts
f
zip
import * as mod from "https://deno.land/std@0.147.0/collections/running_reduce.ts";

Functions

Calls the given reducer on each element of the given collection, passing it's result as the accumulator to the next respective call, starting with the given initialValue. Returns all intermediate accumulator results.