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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,604e0f87aa06eab6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-20 15:28:18 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: mheaney@on2.com (Matthew Heaney) Newsgroups: comp.lang.ada Subject: Re: Imitation is the sincerest form of flattery Date: 20 Mar 2003 15:28:17 -0800 Organization: http://groups.google.com/ Message-ID: <1ec946d1.0303201528.6c9b2c9e@posting.google.com> References: <1047665830.579605@master.nyc.kbcfp.com> <7eee7v4hpvj0i5s345uonlen5315rhiau8@4ax.com> NNTP-Posting-Host: 66.162.65.162 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1048202897 6627 127.0.0.1 (20 Mar 2003 23:28:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Mar 2003 23:28:17 GMT Xref: archiver1.google.com comp.lang.ada:35579 Date: 2003-03-20T23:28:17+00:00 List-Id: Dmitry A. Kazakov wrote in message news:... > > To inherit the type interface. For example, an array type implemented > by a record type: > > -- This is not Ada! > type Unbounded_String is > private array (Integer range <>) of Character; > > private > type Unbounded_String is record > ... > end record; > -- Definition of implemented abstract array opeartions follows Can't you do this? package P is type Unbounded_String (<>) is private; private type Unbounded_String is array (Positive range <>) of Character; end P;