emmanueltouzery / prelude-ts

Functional programming, immutable collections and FP constructs for typescript and javascript
ISC License
377 stars 21 forks source link

new vector features: replaceFirst, replaceAll and indexOf #40

Closed emmanueltouzery closed 4 years ago

emmanueltouzery commented 4 years ago

Add Vector.replaceFirst, Vector.replaceAll, and Vector.indexOf.

Maybe the first two would make sense in LinkedList as well, but I'm not sure it's worth it. I'll merge sometime today or tomorrow if there's no feedback.