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!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 16 Aug 2019 13:29:09 -0500 Subject: Re: The answer to "Can Ada replace FORTRAN for numerical computation? Newsgroups: comp.lang.ada References: <4ba1579b-a096-483d-8f7a-9028a419d643@googlegroups.com> <28590d5c-d5f0-4322-9aa4-e1bb92419db3@googlegroups.com> From: Norman Worth Date: Fri, 16 Aug 2019 12:29:08 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-ceNcQZ9iDo54OzRD33MAw0JrWi5ro9Y9CFbciXc7YSGFB3RtVLqBsPILDa+r7h18gNSWGWZw2HR2LY7!ei/5k3WJkTL3k3u/V6ZtZ7GE0u0M2x1BFbTqS29BTNipC7drZR8BW01H28MsdptwtjAF4CsnXRWq X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2019 Xref: reader01.eternal-september.org comp.lang.ada:57067 Date: 2019-08-16T12:29:08-06:00 List-Id: Dmitry A. Kazakov wrote: > On 2019-08-15 18:45, Norman Worth wrote: > >> I agree that arrays would probably work better as containers, but >> array slices are very handy in a number of cases when you need to copy >> part of an array or restrict the view of the array.  But then slices >> would probably work better as container functions too. > > Rather containers would work better as arrays and slices of like String > vs Unbounded_String. > Of course we can have (and sometimes do have) arrays of containers.