From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Ada 202x and square brackets
Date: Fri, 22 Feb 2019 12:53:01 +0100
Date: 2019-02-22T12:53:01+01:00 [thread overview]
Message-ID: <q4onqr$9rv$1@dont-email.me> (raw)
In-Reply-To: <e5f7df5a-4e83-4c1f-82ad-ee286627ffbc@googlegroups.com>
Le 22/02/2019 à 11:34, AdaMagica a écrit :
> 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.
>
There are cases where you want to mix for clarity:
([1,2], [3,4])
So what would your rule be?
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr
next prev parent reply other threads:[~2019-02-22 11:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-19 22:01 Ada 202x and square brackets Lucretia
2019-02-19 22:36 ` Lucretia
2019-02-20 14:32 ` Jere
2019-02-20 14:38 ` Jere
2019-02-20 14:58 ` Lucretia
2019-02-20 23:47 ` Randy Brukardt
2019-02-21 4:27 ` Lucretia
2019-02-22 0:24 ` Randy Brukardt
2019-02-22 10:34 ` AdaMagica
2019-02-22 11:53 ` J-P. Rosen [this message]
2019-02-22 12:37 ` AdaMagica
2019-02-22 16:56 ` J-P. Rosen
2019-02-22 17:09 ` AdaMagica
2019-02-22 22:18 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox