X is the old associative array. "=>" adds a new key, while ":=" updates an
already existing key, and if it's not present an error is generated. So a
spelling mistake cannot accidentally introduce a new key if you just want to
update some value. This avoids a common bug.
Similarly a simple "AA.update(key, val)" function in the D object module could
be useful. It's a way to modify associative array values that requires the keys
to be already present. This function modifies the value of a key-value if the
key is present, and raises an exception if the key is missing.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------