We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In analogy with mutable.Map. Otherwise one has to search twice, with
val old = m.get(k) m.update(k, v) old
which, admittedly, is what MapLike does but isn't efficient.
MapLike
I can PR such, if you want.
The text was updated successfully, but these errors were encountered:
@performantdata Sounds good. Another one that I think would be nice to have would be some variant of getOrElseUpdate.
getOrElseUpdate
Sorry, something went wrong.
So you want that I write it?
Feel free to write it if you want. Otherwise, I'll get to it eventually (but maybe not super soon).
No branches or pull requests
In analogy with mutable.Map. Otherwise one has to search twice, with
which, admittedly, is what
MapLike
does but isn't efficient.I can PR such, if you want.
The text was updated successfully, but these errors were encountered: