Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rejectIndexed is missing #67

Closed
whitelizard opened this issue May 31, 2021 · 2 comments
Closed

rejectIndexed is missing #67

whitelizard opened this issue May 31, 2021 · 2 comments

Comments

@whitelizard
Copy link

From the changelog:

"6.0.0
Breaking change - R.map/R.filter/R.reject/R.forEach/R.partition doesn't pass index as second argument to the predicate, when looping over arrays. The old behaviour of map, filter and forEach can be found in Rambdax methods R.mapIndexed, R.filterIndexed and R.forEachIndexed(introduced in version 6.1.0)."

But rejectIndexed was not added together with the others (and not partitionIndexed either?).

Also, the rejectIndexed REPL is broken.

@selfrefactor
Copy link
Owner

You are right that when R.reject/R.partition stopped passing index as second argumen, no fooIndexed alternative was provided. I will try to add them with the next release. I will keep the issue open until then and thank you for pointing that out.

@selfrefactor
Copy link
Owner

R.partitionIndexed and R.rejectIndexed had been added with 7.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants