On 06/19/2017 08:19 AM, Q. Schroll wrote: > Can't I tell the AA to set a value for a given key if it doesn't already > have one > (1) with only one lookup, and > (2) in a safe way? aa.get(key, defaultValue) https://dlang.org/spec/hash-map.html#properties Ali