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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,672b169dc220673a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.143.145 with SMTP id v17mr1304140bku.7.1337444237831; Sat, 19 May 2012 09:17:17 -0700 (PDT) Path: e27ni17682bkw.0!nntp.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!xmission!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Vector (container) initialization: the schizophrenic ampersand Date: Sat, 19 May 2012 12:15:44 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <10616734.43.1337286031745.JavaMail.geo-discussion-forums@vbjy7> <70510fa1-e554-44a7-9364-e745674c1bda@googlegroups.com> <28845c63-b06c-4ac2-b5d5-e408c0ff4b7f@googlegroups.com> <70817af5-96c3-4ca7-8d1c-b7635452bf4c@googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1337444144 13830 192.74.137.71 (19 May 2012 16:15:44 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 19 May 2012 16:15:44 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:Eiz3uFm+SDEZYUzDhq6mYRz2iSg= Content-Type: text/plain; charset=us-ascii Date: 2012-05-19T12:15:44-04:00 List-Id: Marius Amado-Alves writes: >> > V : My_Vectors.Vector := Element1 + Element2 + Element3; >> > >> > A bit less inelegant. >> > >> > /* But more than parenthesis or T'(...) in my view. */ >> >> You mean more inelegant, or more elegant? > > Oops, sorry, I mean more elegant, i.e. I find > > Element1 + Element2 + Element3 > > more elegant than > > (T'(Element1) & T'(Element2)) & T'(Element3) > > or variations thereof. (Textual elegancy. I agree the latter form has > more semantic rigour = abstract elegancy.) You don't need to qualify everything. Just enough to disambiguate. I don't know what operators are visible in this example, nor what the context is, but this should work: T'(Element1 & Element2 & Element3) - Bob