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: a07f3367d7,4496c60dc079a16a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada Subject: Re: Why is this not legal Date: Thu, 01 Oct 2009 13:54:24 -0700 Organization: None to speak of Message-ID: References: <03k2c5lvkk6o9ihd9hbhpnobieoupjg9pc@4ax.com> <303d304d-8ff1-4d46-af76-88fafeec7e46@b2g2000yqi.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.eternal-september.org U2FsdGVkX19rgI8ODIxNMrnFGSzyNNcnN2uF/FyFd+xm3Jwh18Ej80qaQI04bDqc0W1PexNDeTxeu4s1Or5Pov0ZKHwqYS2He/N//Gp4sSzVrV6a4AeusthdgGPpiMQkCST8qob8rqQEWZLETaENCw== X-Complaints-To: abuse@eternal-september.org NNTP-Posting-Date: Thu, 1 Oct 2009 20:55:26 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/jJlzdFqxaadu2SXqD8ZfF Cancel-Lock: sha1:UOk/CuC8X8KU9q0T2pdXNa/LHGY= sha1:nN/xCLpcFfLYaBmP7xpytIJSIuI= User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.4 (gnu/linux) Xref: g2news2.google.com comp.lang.ada:8566 Date: 2009-10-01T13:54:24-07:00 List-Id: Adam Beneschan writes: [...] > TYPE declarations always create a new type. SUBTYPE declarations will > declare an identifier that refers to the same *type*, but puts > additional constraints on it. [...] Small correction: a subtype declaration may or may not add additional constraints. For example: subtype My_String is String; -- Keith Thompson (The_Other_Keith) kst-u@mib.org Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"