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.7 required=5.0 tests=BAYES_00,DATE_IN_PAST_24_48, FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,66fae8c862b81b17 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.181.12.101 with SMTP id ep5mr2112813wid.1.1352353232556; Wed, 07 Nov 2012 21:40:32 -0800 (PST) Date: Tue, 06 Nov 2012 12:33:32 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Copy vector in Ada References: <1aWdnbcg_8-BzAzNnZ2dnUVZ_j6dnZ2d@giganews.com> <5460fdc7-5490-4889-b771-67cc281c10c5@googlegroups.com> <6260a796-83c4-4ce5-88cb-8249846bc035@googlegroups.com> <10y91ckm54l57$.8u8bbq342u1b.dlg@40tude.net> <2164bc1a-a841-46ed-bfef-4ddcae4d64f7@googlegroups.com> <1ccf2169-418c-44b7-9d5a-b684a017fbe7@googlegroups.com> <1r3lpzblxy43h$.zytp8ur1bg27$.dlg@40tude.net> <1k3sjasg1wftm$.1vlq5hm7vukhk.dlg@40tude.net> <1sinhhpvja1gx.1ue7br8bz2slq$.dlg@40tude.net> In-Reply-To: Message-ID: <5098f58c$0$6558$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 06 Nov 2012 12:33:32 CET NNTP-Posting-Host: 5c9bd0cf.newsspool4.arcor-online.net X-Trace: DXC=S9EY7;nOe2:RLigj];iP=84IUKejV8^i_iENAeY:=kb=JAIM1i^4 X-Complaints-To: usenet-abuse@arcor.de Path: q13ni187518wii.0!nntp.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!216.196.98.146.MISMATCH!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.mccarragher.com!news.grnet.gr!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: 2012-11-06T12:33:32+01:00 List-Id: On 06.11.12 03:17, Yannick Duchêne (Hibou57) wrote: > When you do: > > type My_Integer_Type is new Integer range -10 .. 10; > > you do this just to reuse the Integer type's physical representation and built‑in primitives, not to define a type belonging to an Integer class. Actually, one can specify a physical representation of My_Integer_Type that is different from Integer's. Also, one may supplant or subtract "primitives". When I do not need type substitution, e.g. because all objects do their work well, and locally, then the solution is to adapt notions of type to the solution at hand as necessary, and if necessary at all, rather than to force working solutions to match orthodox notions of type. Nothing wrong with the latter, globally.