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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,bf03d731a6ef511f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!xlned.com!feeder1.xlned.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Copying rows in a two dimensional array. Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: Date: Mon, 8 Feb 2010 14:45:37 +0100 Message-ID: <12ezqn0wq0lmm$.s7nr5aueiwa4$.dlg@40tude.net> NNTP-Posting-Date: 08 Feb 2010 14:45:38 CET NNTP-Posting-Host: e8449859.newsspool2.arcor-online.net X-Trace: DXC=bh7TLfmNQE\[7Non7UCi8UA9EHlD;3YcR4Fo<]lROoRQ8kF_d\UH5XI^ On Mon, 08 Feb 2010 08:15:50 -0500, Robert A Duff wrote: > Actually, slices are one of the least useful features of Ada. > I wouldn't mind (much) if they didn't exist in the first place. But only if the language provided means to have user-defined ones. Which is far from trivial. You need a lot of related types to describe slices themselves and indicator sets (ranges). Plus you have to provide means to determine if subarrays overlap in order to implement assignment in a safe way. And user-defined assignment itself need to be properly done (syntax, referential semantics of function results etc.) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de