There are value-lists and tuples, which are treated very similarly:
value_list = (a, b, c)
tuple = [a, b, c]
Typically you see value-lists in function calls:
pine(a,b,c)
If tuples go comma-less, then this will apply to value-lists as well. But I'm only suggesting this for multi-line lists now, not inline.
pine(
a
b
c
)
That would be equivalent to pine(a,b,c)
There is a possibility to support comma-less inline notation, such as [a b c] or pine( a b c ). I'm reluctant to do this now as it may artificially restrict the syntax too early in the design, and it creates a lot of ambiguities which may not be worth it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There are value-lists and tuples, which are treated very similarly:
Typically you see value-lists in function calls:
If tuples go comma-less, then this will apply to value-lists as well. But I'm only suggesting this for multi-line lists now, not inline.
That would be equivalent to
pine(a,b,c)
There is a possibility to support comma-less inline notation, such as
[a b c]
orpine( a b c )
. I'm reluctant to do this now as it may artificially restrict the syntax too early in the design, and it creates a lot of ambiguities which may not be worth it.