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-Thread: 103376,db88d0444fafe8eb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!proxad.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Thu, 01 Sep 2005 13:48:11 +0200 From: Georg Bauhaus User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Surprise in array concatenation References: <1125544603.561847.32140@g47g2000cwa.googlegroups.com> <14muavojz308w.1ouv7xin79rqu$.dlg@40tude.net> <87fyspgqrm.fsf@mid.deneb.enyo.de> In-Reply-To: <87fyspgqrm.fsf@mid.deneb.enyo.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4316ea4d$0$24155$9b4e6d93@newsread4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 01 Sep 2005 13:47:25 MEST NNTP-Posting-Host: 9214e0a6.newsread4.arcor-online.net X-Trace: DXC=AOXg9oc:FSHbSWda:jMWf@:ejgIfPPldDjW\KbG]kaMHea\9g\;7NmEbHVJCKJ^eYOhP3YJKgE\jLkK=A=HMfRbB X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:4365 Date: 2005-09-01T13:47:25+02:00 List-Id: Florian Weimer wrote: > Even more problematic is the empty array whose index type > is an enumeration type with just one enumeration literal. This looks like a formalist's problem to me. Use subtypes: type With_Off is (Off, Only); -- two literals subtype The_King is With_Off range Only .. Only; -- one literal left_the_building: array (The_King'first .. The_King'base'first) of Boolean;