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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:ed8c:: with SMTP id r134mr12303480ith.30.1547828995920; Fri, 18 Jan 2019 08:29:55 -0800 (PST) X-Received: by 2002:a9d:6f14:: with SMTP id n20mr316724otq.2.1547828995685; Fri, 18 Jan 2019 08:29:55 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!q69no81161itb.0!news-out.google.com!v71ni107ita.0!nntp.google.com!k10no80890itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 18 Jan 2019 08:29:55 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=208.114.128.49; posting-account=MRPdDAoAAADUJmZVjnYaoafXFMadSeY1 NNTP-Posting-Host: 208.114.128.49 References: <2a6929c5-72fa-4d84-953a-44ea4597ab38@googlegroups.com> <75328dc5-fc59-4228-b77e-77ba6e5101c3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5a14ceb8-4490-4e7c-a140-fbb5579a5aad@googlegroups.com> Subject: Re: class wide iterable (and indexable) From: Olivier Henley Injection-Date: Fri, 18 Jan 2019 16:29:55 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55308 Date: 2019-01-18T08:29:55-08:00 List-Id: > Array interface is not separated from implementation/representation. The > problems with String encoding is a consequence of. You cannot have > differently encoded Strings with the same interface. You cannot have two > array interfaces for the same String (array of characters vs. array of > encoding units, e.g. of code points). Ok but is it not the intended purpose of an 'array' to be/stay a 'primitive memory mapping construct'? Could the type of array... then the string, you wish for be added to the language?