3 ms·
> Should we also have builtins to add to a collection? No, because each collection type (mapping, sequence, set, ...) has very different addition semantics (an
by masklinn 15y ago
> Should we also have builtins to add to a collection?
No, because each collection type (mapping, sequence, set, ...) has very different addition semantics (and potentially arguments as well). On the other hand, there is a builtin to iterate over stuff.