It would be prohibitively expensive to continuously check the list that it consists of symbol-value pairs only. Also, because a DPL is just a list that is interpreted specially, there's nothing to stop you hiding other information in the list which will be ignored by the DPL operator ->, so producing a warning would break existing code. Since using dpl1->key returns nil if key doesn't exist, that's the case here and so everything is as expected... Regards, Andrew.
↧