From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:2993:b0:67d:7119:9f19 with SMTP id r19-20020a05620a299300b0067d71199f19mr13415160qkp.494.1648407469477; Sun, 27 Mar 2022 11:57:49 -0700 (PDT) X-Received: by 2002:a25:3b87:0:b0:628:b8a6:c1e7 with SMTP id i129-20020a253b87000000b00628b8a6c1e7mr19817625yba.422.1648407469185; Sun, 27 Mar 2022 11:57:49 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 27 Mar 2022 11:57:48 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=67.60.105.60; posting-account=gQF3jAoAAABoaiz3fV1hQ7bEbL48C-fl NNTP-Posting-Host: 67.60.105.60 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <708fffe8-9c20-43f8-b9c1-922034048606n@googlegroups.com> Subject: Re: What is the name of the | symbol? From: Matt Jaffe Injection-Date: Sun, 27 Mar 2022 18:57:49 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:63667 List-Id: On Friday, March 25, 2022 at 4:24:49 PM UTC-7, Chris Townley wrote: > On 25/03/2022 22:21, Jeffrey R.Carter wrote:=20 > > On 2022-03-25 20:04, Matt Jaffe wrote:=20 > >> In using it in a named association array aggregate, its semantic are= =20 > >> "and" --- e.g., some_1D_array :=3D (1 | 3 | 7 =3D> 5, others =3D> 10) = sets=20 > >> elements 1 and 3 and 7 to the value 5. In a case statement, its=20 > >> semantics are "or" --- e.g. when 1 | 3 | 7 =3D> ... any of the values= =20 > >> 1, 3, or 7 for the case expression will select the ... code for=20 > >> execution. Is there a single name for that symbol (the | ) that=20 > >> seems to have different semantics depending on context?=20 > >=20 > > ARM 2.1(15/3)=20 > > (http://www.ada-auth.org/standards/aarm12_w_tc1/html/AA-2-1.html#I1201)= =20 > > says its name in Ada is "vertical line".=20 > > > Probably wrong, but for a Unix user since the last century, I call it 'pi= pe'=20 >=20 >=20 > --=20 > Chris Well, non-judgmental type that I am, I'm not going to say you're "wrong", b= ut pipe is the name and usage for that symbol when programming a Unix shell= . It's semantics in Ada are quite different, so I don't think calling it p= ipe quite fits. (So I guess I'm not a pipe-fitter either ;-)