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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada 202x and square brackets Date: Fri, 22 Feb 2019 16:18:12 -0600 Organization: JSA Research & Innovation Message-ID: References: <54a5873a-57aa-40c6-8af4-a6f908d53593@googlegroups.com> Injection-Date: Fri, 22 Feb 2019 22:18:13 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="27066"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader01.eternal-september.org comp.lang.ada:55638 Date: 2019-02-22T16:18:12-06:00 List-Id: "AdaMagica" wrote in message news:e5f7df5a-4e83-4c1f-82ad-ee286627ffbc@googlegroups.com... > So we can now mix () and [] at will? > > ([1,2,3], (7,8,9)) for a two-dim. array. > > [1,2,3] & (7,8,9) for concatenation. > > At least (a,b,c] is not allowed. > > I'd say a rule to not mix them in an expression is due. I raised that argument, and found out I was literally the only one that thought that was a good idea. I'm happy to hear that I'm not 100% alone, but it's not happening in the Standard. Indeed, it's been suggested that: ([1,2,3], [7,8,9]) is a good idea a two-dim. array. Supposedly, this will be the provence of style tools and rules. Randy.