On Monday, 11 January 2021 at 13:05:18 UTC, jmh530 wrote:
On Monday, 11 January 2021 at 12:32:42 UTC, Nick Treleaven
wrote:
[snip]
I think if the DIP proposed a literal syntax instead of a new
variable declaration syntax, it would be much less of a burden
to the compiler. I think we don't have any partial (variable)
type inference syntax ATM.
[snip]
Could you provide an example? (apologies if you already have...)
Just a suffix like `[1,2]$` or `[1]s`. Then just use `auto var =`
with it as normal.