Closed whitelizard closed 3 years ago
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.
R.partitionIndexed
and R.rejectIndexed
had been added with 7.3.0
.
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 notpartitionIndexed
either?).Also, the
rejectIndexed
REPL is broken.