a-synchronous / a-synchronous/rubico

Update all Transducer reducer signatures to include indexOrKey and fold

Open
#296 0 comments 0 reactions 0 assignees View on GitHub
breaking
Dominant language
JavaScript
Stars
283
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Update reducerMap, reducerFilter, reducerFlatMap, reducerForEach, reducerTryCatch

Update all instances of Reducer and Transducer in docs to this

```
* type Reducer = (
* accumulator any,
* value any,
* indexOrKey number|string|any,
* fold Foldable
* )=>(nextAccumulator Promise|any)
*
* type Transducer = Reducer=>Reducer

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.