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 10.66.249.41 with SMTP id yr9mr20834399pac.37.1459222167663; Mon, 28 Mar 2016 20:29:27 -0700 (PDT) X-Received: by 10.157.42.231 with SMTP id e94mr46327otb.5.1459222167511; Mon, 28 Mar 2016 20:29:27 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!av4no2502181igc.0!news-out.google.com!u9ni105igk.0!nntp.google.com!nt3no5482574igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 28 Mar 2016 20:29:27 -0700 (PDT) In-Reply-To: <72436e28-13a7-4580-9503-0bd7111f4bab@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:191:8201:bb5a:5985:2c17:9409:aa9c; posting-account=fdRd8woAAADTIlxCu9FgvDrUK4wPzvy3 NNTP-Posting-Host: 2601:191:8201:bb5a:5985:2c17:9409:aa9c References: <72436e28-13a7-4580-9503-0bd7111f4bab@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4db99661-dd19-46da-b707-d8b3fb33915f@googlegroups.com> Subject: Re: Playing cards. From: rieachus@comcast.net Injection-Date: Tue, 29 Mar 2016 03:29:27 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:29917 Date: 2016-03-28T20:29:27-07:00 List-Id: > As I'm sure you know, all intermediate results in Ada are of the base typ= e,=20 > and are never range checked. That only happens when the expression value = is=20 > stored or otherwise consumed (i.e. used as an array index). Or when passed to a constrained parameter, and the gotcha that I did run in= to with Position. I declared Position's component's Positive, and of cours= e, they should be Natural to allow 0,0 as a location. I've also started a restructuring--I realized that having a generic package= is the right way to deal with choice of decks, maximum hand size, and poss= ibly display type. I'll probably wait until I have at least one running pr= ogram before posting more. But if anyone wants to help let me know.