regarding maps, is there a std-lib way to get the ...
# announcements
g
regarding maps, is there a std-lib way to get the value from a map, or execute a factory, put the result in the map, and return that value? Something like
Copy code
mutableMap.getOrMake(thing) { factory() }