selfrefactor / rambda

Faster and smaller alternative to Ramda
https://selfrefactor.github.io/rambda
MIT License
1.66k stars 89 forks source link

add R.evolve #91

Closed the-dr-lazy closed 5 years ago

the-dr-lazy commented 5 years ago

Hi

I found Rambda as a good alternative to Ramda. How would be to implement the useful function called R.evolve?

selfrefactor commented 5 years ago

It was implemented in the extended version of Rambda, which is Rambdax. When Rambdax hit major version change, I took the chance to deprecate some methods and R.evolve was one of them. But the code is there and it is very easy to be restored. Still, I'd prefer to have this method in Rambdax, not here if that is fine with you.

I am sending the link to the code:

https://github.com/selfrefactor/rambdax/blob/master/files/deprecated/evolve.js

and spec

https://github.com/selfrefactor/rambdax/blob/master/files/deprecated/evolve.spec.js

selfrefactor commented 5 years ago

I will close the issue, but feel free to further share your thoughts.