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.36.108.16 with SMTP id w16mr4187140itb.36.1481572129062; Mon, 12 Dec 2016 11:48:49 -0800 (PST) X-Received: by 10.157.39.129 with SMTP id c1mr6103975otb.15.1481572128965; Mon, 12 Dec 2016 11:48:48 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!n6no5838374qtd.0!news-out.google.com!j8ni39685qtc.0!nntp.google.com!n6no5838372qtd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 12 Dec 2016 11:48:48 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=67.0.242.189; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 67.0.242.189 References: <47366b42-c0a3-41bf-a44a-5241c109d60f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4c9c0d51-13f0-422f-9e72-5c2f9d9ccce4@googlegroups.com> Subject: Re: Ada 2012 Constraints (WRT an Ada IR) From: Shark8 Injection-Date: Mon, 12 Dec 2016 19:48:49 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2945 X-Received-Body-CRC: 3974751699 Xref: news.eternal-september.org comp.lang.ada:32764 Date: 2016-12-12T11:48:48-08:00 List-Id: On Monday, December 12, 2016 at 10:39:28 AM UTC-7, Dmitry A. Kazakov wrote: > On 2016-12-12 16:31, G.B. wrote: > > On 12/12/2016 09:27, Dmitry A. Kazakov wrote: > > > >>> I.e., the programmer writing Y (X (A, B)) has ensured that > >>> the assumption expressed as X'Pre is actually true before > >>> calling X. > >> > >> So what? Programmers program programs, and how is that related to > >> contracts etc? > > > > Informing is contracts' primary purpose, >=20 > Nope. The contract's purpose is to constrain contracted parties.=20 > Informing is the purpose of E-mail, newspaper etc... They aren't exactly mutually exclusive -- consider electronic components, t= hey have a data-sheet that both informs you of their limitations and operat= e within prescribed bounds when those conditions are met. (Absent manufactu= ring defects and wear-out, obviously.)