3 ms·
set = <> looks like the other empty container literals, but it's not consistent with the literal notation for sets with one or more elements: my_set = {1,2,3}.
by uraza 14y ago
set = <> looks like the other empty container literals, but it's not consistent with the literal notation for sets with one or more elements: my_set = {1,2,3}.
- sambe 14y agoWhat about supporting <1, 2, 3> as well, and eventually deprecating the existing way? The end result would be much nicer.