Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Add element replace method for collections #292

Open
alicederyn opened this issue Mar 19, 2018 · 0 comments
Open

Add element replace method for collections #292

alicederyn opened this issue Mar 19, 2018 · 0 comments

Comments

@alicederyn
Copy link
Collaborator

It's frequently useful to map every element of a collection, which currently needs to be done with the cumbersome

.mutateBooks(books -> books.replaceAll(book -> ...))

It would be nicer to be able to write

.replaceBooks(book -> ...)

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

No branches or pull requests

1 participant