Grammar question. TypeSuffix - what is [ AssignExpression .. AssignExpression ] production for?

Nick Treleaven nick at geany.org
Wed Sep 4 20:04:08 UTC 2024


On Wednesday, 4 September 2024 at 19:21:21 UTC, monkyyy wrote:
> The spec only offers 3 code examples, none of which covers, oh, 
> lets say static foreach of seq's, youd need to know to go to 
> spec on foreach to look for it.

It's a spec, so it links to foreach on a sequence (which has 
examples):

> Sequences can 'unroll' code for each element using a foreach 
> statement.


More information about the Digitalmars-d mailing list