On Tuesday, 17 April 2018 at 09:21:14 UTC, Giles Bathgate wrote:
The java name for such a function is `computeIfAbsent`
More names from other languages, this time python: https://docs.python.org/3/library/stdtypes.html#dict.setdefaultIt's horrid though, a method called `set` that returns a value? Maybe I am biased against anything pythonic ;)