Grammar question. TypeSuffix - what is [ AssignExpression .. AssignExpression ] production for?
WB
witold.baryluk at gmail.com
Wed Sep 11 18:49:52 UTC 2024
On Wednesday, 4 September 2024 at 17:31:53 UTC, Nick Treleaven
wrote:
> On Monday, 2 September 2024 at 16:35:11 UTC, monkyyy wrote:
>> Good docs for what seq does, doesnt exist; period. You have to
>> learn from trail and error.
>
> What's wrong with:
>
>> So maybe
>> https://dlang.org/spec/template.html#variadic-templates ,
>> where more specifically
>> https://dlang.org/spec/template.html#seq-ops mentions slicing
>> operation on these sequences ?
The problem is that these two places are not mentioned anywhere
on the page where grammar rules are present for them (
https://dlang.org/spec/grammar.html#TypeSuffix and
https://dlang.org/spec/type.html#grammar ), making it hard to
discover / understand.
More information about the Digitalmars-d
mailing list