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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fce663eaf40b52f6 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Manifesto against Vector Date: Tue, 11 May 2004 07:55:23 +0200 Organization: AdaCL Message-ID: <2624380.43TIdGOV5n@linux1.krischik.com> References: <1952584.Dh8uKYASTL@linux1.krischik.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1084255996 03 16834 TOyNGrMvEyL0h7x 040511 06:13:16 X-Complaints-To: usenet-abuse@t-online.de X-ID: XoWx0cZSYe9TqrdMZSo4YutKwf196x2m+ZZ5TV7hywiL9ip+OQ1tQj User-Agent: KNode/0.7.7 Xref: controlnews3.google.com comp.lang.ada:433 Date: 2004-05-11T07:55:23+02:00 List-Id: Jeffrey Carter wrote: > Martin Krischik wrote: > >> Alexander E. Kopilovich wrote: >> >>>This is quite obvious that the most natural name for this container in >>>Ada is Unbounded_Array, because this name perfectly associates with both >>>"array" and Unbounded_String, for which it is natural generalization. >> >> But perhaps Unbounded_Array might be used for something far more Ada >> like: >> >> package Unbounded_String >> is new >> Unbounded_Array ( >> Element_Type => Character, >> Index_Type => Natural, >> Base_Array => String); > > Right. Unbounded_String is a special case of an unbounded array; in > hindsight, it would have been much better for Ada 95 to have had an > unbounded array package and to have defined Unbounded_String in terms of > it. That didn't happen, though, so there's no point in worrying about it. But there is still Unicode_Character aka Wide_Wide_Character. They will need Unbounded, Bounded, Fixed etc. packages as well. So perhaps one should rethink the String Library. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com