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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6d79efdb8dde2c5a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!x25g2000yqj.googlegroups.com!not-for-mail From: Phil Thornley Newsgroups: comp.lang.ada Subject: Re: SPARK : third example for Roesetta - reviewers welcome Date: Fri, 20 Aug 2010 02:06:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3835bfd7-ea68-440a-8c38-64e8922fc8b0@x25g2000yqj.googlegroups.com> References: <87aaonlk1h.fsf@hugsarin.sparre-andersen.dk> NNTP-Posting-Host: 80.177.171.182 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1282295192 14888 127.0.0.1 (20 Aug 2010 09:06:32 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 Aug 2010 09:06:32 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x25g2000yqj.googlegroups.com; posting-host=80.177.171.182; posting-account=Fz1-yAoAAACc1SDCr-Py2qBj8xQ-qC2q User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13529 Date: 2010-08-20T02:06:32-07:00 List-Id: On 15 Aug, 21:04, Jacob Sparre Andersen wrote: > Yannick Duch=EAne wrote: [...] > > =A0 =A0 =A0 subtype Index_Type is Integer range 1 .. 100; -- Arbitrary = limits. > > Is there really any need to make this a subtype of Integer? =A0Shouldn't > it rather be a completely independent type: I've left this as a subtype of Integer in the updated version on Rosetta Code. The main reason is that an independent type would need a base type assertion adding - which will just be noise to a casual browser with only a small benefit gained. (IMHO of course - and it's a Wiki, so ...) Cheers, Phil