From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:78c:: with SMTP id f134mr5865773itf.30.1550674722840; Wed, 20 Feb 2019 06:58:42 -0800 (PST) X-Received: by 2002:aca:5bd7:: with SMTP id p206mr425017oib.2.1550674722687; Wed, 20 Feb 2019 06:58:42 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!y22no13256ita.0!news-out.google.com!v188ni17itb.0!nntp.google.com!y22no13253ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 20 Feb 2019 06:58:42 -0800 (PST) In-Reply-To: <54a5873a-57aa-40c6-8af4-a6f908d53593@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5 References: <54a5873a-57aa-40c6-8af4-a6f908d53593@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada 202x and square brackets From: Lucretia Injection-Date: Wed, 20 Feb 2019 14:58:42 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2154 X-Received-Body-CRC: 346049335 Xref: reader01.eternal-september.org comp.lang.ada:55605 Date: 2019-02-20T06:58:42-08:00 List-Id: On Wednesday, 20 February 2019 14:32:14 UTC, Jere wrote: > On Tuesday, February 19, 2019 at 5:01:05 PM UTC-5, Lucretia wrote: > > Hi, > > > > I've noticed whilst looking through the grammar of draft 17 there are a lot of new uses of '[' ']' without much explanation. Can someone elaborate? > > > > Ta, > > Luke. > > I know you found it, but for other's benefit, which did you find. I > searched through and found them used in "reduction expressions" [1], > but I don't know if that was the only use > > [1]: http://www.ada-auth.org/standards/2xrm/html/RM-4-5-10.html#I3068 It was aggregates for containers, so you can do Set := [1,2,3,4] or something like that. I didn't read the details. http://www.ada-auth.org/standards/2xaarm/html/AA-4-3-5.html