Remix.run Logo
xg15 5 hours ago

There would at least be some ambiguity with single-value lists otherwise:

If

  numbers: 1, 2, 3
was a list, what would

  numbers: 1
be?
jampekka 5 hours ago | parent [-]

You could have it like in Python tuples where 1 is a scalar and 1, is a tuple.

xg15 4 hours ago | parent [-]

True, but I think that wouldn't be any more intuitive or error safe than the :: syntax.