Every function that takes an Array should also allow an Iterable
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
So each one of these should also take an Iterable:
### Helpers
- [ ] `mconcat`
- [ ] `mconcatMap`
- [ ] `mreduce`
- [ ] `mreduceMap`
- [ ] `take` **(new)**
## Pointfree
- [ ] `filter`
- [ ] `find` **(new)**
- [x] `head`
- [ ] `map`
- [ ] `reduce`
- [ ] `sequence`
- [ ] `tail`
- [ ] `traverse`
Since we are now exposing the possibility of infinite values, makes sense to add a `take` function at this point.
Contributor guide
Assessment
This issue has not been assessed yet.