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,115cdbb394b3e615 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!news.cs.univ-paris8.fr!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Wed, 02 Feb 2005 23:26:21 +0100 From: Georg Bauhaus Organization: future apps GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Why can't you create a out of order subtype? References: <1107301914.648240.237290@g14g2000cwa.googlegroups.com> In-Reply-To: <1107301914.648240.237290@g14g2000cwa.googlegroups.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4201537f$0$809$9b4e6d93@newsread2.arcor-online.net> NNTP-Posting-Date: 02 Feb 2005 23:26:11 MET NNTP-Posting-Host: 394c1a7a.newsread2.arcor-online.net X-Trace: DXC=ChYh=Do7hfm0_l3b[L=KQcQ5U85hF6f;djW\KbG]kaMh9f:f]\`7`onJg;68fi23Yak<`H1K[JoSk?3M>NiNj5TfbWoWITGh6mh X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:8141 Date: 2005-02-02T23:26:11+01:00 List-Id: brett_gengler@yahoo.com wrote: > I created a type whose order can not be rearranged and I want to create > a subtype of that type. So, > > type msg is ( msg_a, msg_b, msg_c, msg_d, msg_e); > > subtype vowel_msg is msg (msg_a, msg_e); --wrong, but why? Not sure whether the following can lead to no Boolean array, but anyway :-) subtype Consonant_Msg is msg range msg_b .. msg_d; -- Georg