You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a 'Reduce()' function to collapse a given slice into a single
accumulator. 'Reduce()' loops over the slice in order and applies the
specified reduce function to the slice element and accumulator. Add unit
tests applying 'Reduce()' to various slice and accumulator types.
Signed-off-by: Victoria Dye <[email protected]>
0 commit comments